[go: up one dir, main page]

Menu

Tree [r538] / ddc / trunk /
 History

HTTPS access


File Date Author Commit
 Test 2011-11-15 mukau [r3] + initial import of ddc-2.0 branch
 bin 2013-05-31 mukau [r77] + added ddc_dump to bin/Makefile.am
 config 2014-03-25 mukau [r158] * add config/config.rpath to dist (for AM_ICONV)
 doc 2015-12-07 mukau [r537] + added abort() in CConcXml::CFreeBiblStringInd...
 etc 2014-09-30 mukau [r295] + raised chunk-size for socket communications i...
 log 2011-12-02 mukau [r22] v2.0.1 Fri, 02 Dec 2011 14:56:18 +0100
 m4 2015-12-07 mukau [r538] + POD_CLEANFILES: pod2htm*.tmp
 scripts 2015-06-10 mukau [r509] + convert_to_utf8.perl: still buggy
 skel 2014-09-10 mukau [r291] + ddc-server.sh
 src 2015-12-07 mukau [r537] + added abort() in CConcXml::CFreeBiblStringInd...
 AUTHORS 2013-03-21 mukau [r44] + v2.0.6: added generic wildcard operator '*'
 COPYING 2011-11-15 mukau [r3] + initial import of ddc-2.0 branch
 COPYING.LESSER 2011-11-15 mukau [r3] + initial import of ddc-2.0 branch
 Changes 2015-12-07 mukau [r537] + added abort() in CConcXml::CFreeBiblStringInd...
 INSTALL 2011-11-15 mukau [r3] + initial import of ddc-2.0 branch
 Makefile.am 2015-05-20 mukau [r489] + v2.0.38-rc2: distcheck fixes
 README.html 2014-12-18 mukau [r363] + general printf format cleanup for %i vs %zi ...
 README.pod 2014-08-13 mukau [r268] + check for missing/unparsed m_Port in CHost::R...
 README.txt 2013-12-06 mukau [r84] v2.0.15: + band-aid fix for lower/upper-bound p...
 autoreconf.sh 2011-11-15 mukau [r3] + initial import of ddc-2.0 branch
 configure.ac 2015-12-07 mukau [r537] + added abort() in CConcXml::CFreeBiblStringInd...
 ddc.pc.in 2014-03-27 mukau [r161] v2.0.22(pre) Thu, 27 Mar 2014 13:46:48 +0100 mo...
 distcheck.sh 2011-12-09 mukau [r23] + added PACKAGE_VERSION to ddc_daemon starup me...

Read Me

<?xml version="1.0" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rev="made" href="mailto:root@localhost" />
</head>

<body style="background-color: white">



<ul id="index">
  <li><a href="#DESCRIPTION">DESCRIPTION</a></li>
  <li><a href="#DEPENDENCIES">DEPENDENCIES</a></li>
  <li><a href="#INSTALLATION">INSTALLATION</a></li>
  <li><a href="#BUILD-OPTIONS">BUILD OPTIONS</a></li>
  <li><a href="#KNOWN-BUGS">KNOWN BUGS</a></li>
  <li><a href="#AUTHOR">AUTHOR</a></li>
</ul>

<p>README for package ddc</p>

<p>Last updated for ddc v2.0.15</p>

<h1 id="DESCRIPTION">DESCRIPTION</h1>

<p>The ddc package contains core C++ utilities for the DWDS/Dialing Concordance document indexing system.</p>

<p>The DDC-2.x branch is maintained in SVN under:</p>

<pre><code> svn+ssh://svn.code.sf.net/p/ddc-concordance/code/ddc/
 https://svn.code.sf.net/p/ddc-concordance/code/ddc/
 svn://svn.code.sf.net/p/ddc-concordance/code/ddc/</code></pre>

<h1 id="DEPENDENCIES">DEPENDENCIES</h1>

<dl>

<dt id="ddc-morph-v2.0.0">ddc-morph &gt;= v2.0.0</dt>
<dd>

<p>Morphology data.</p>

<p>In order to use most of the runtime utilities, you will also need a set of morphology data files available in the ddc-morph package, which should be available wherever you downloaded these sources.</p>

<p>You should build (and optionally install) this package <b>BEFORE</b> attempting to build ddc-morph.</p>

<p>The ddc-morph sources are maintained in SVN under:</p>

<pre><code> https://ddc-concordance.svn.sourceforge.net/svnroot/ddc-morph</code></pre>

</dd>
<dt id="libpcre-libpcrecpp">libpcre, libpcrecpp</dt>
<dd>

<p>Perl-compatibile regular expression C library and C++ wrappers.</p>

<p>URL: http://www.pcre.org/</p>

<p>Tested version(s): 8.02</p>

</dd>
<dt id="libcurl-optional">libcurl (optional)</dt>
<dd>

<p>If available, libcurl can be used for accessing external HTTP-based term expanders from within a running DDC process. DDC should still compile and run even if libcurl is unavailable, but e.g. external HTTP-based term expanders will be unuseable.</p>

<p>URL: http://curl.haxx.se/</p>

<p>Tested version(s): 7.21.0</p>

</dd>
<dt id="GNU-bison-optional">GNU bison (optional)</dt>
<dd>

<p>Tested version 2.4.1. If you get errors compiling src/ConcordLib/yyQParser.o, try re-extracting the source archive and call</p>

<pre><code> $ touch src/ConcordLib/yyQParser.cpp src/ConcordLib/yyQParser.h</code></pre>

<p>before re-compiling.</p>

</dd>
<dt id="GNU-flex-optional">GNU flex (optional)</dt>
<dd>

<p>Tested version 2.5.35. If you get errors compiling src/ConcordLib/yyQLexer.o, try re-extracting the source archive and call</p>

<pre><code> $ touch src/ConcordLib/yyQLexer.cpp src/ConcordLib/yyQLexer.h</code></pre>

<p>before re-compiling.</p>

</dd>
</dl>

<h1 id="INSTALLATION">INSTALLATION</h1>

<p>Issue the following commands to the shell:</p>

<pre><code> cd ddc-X.Y.dx-Z       ##-- (or wherever you extracted the ddc distribution)
 sh ./configure
 make
 make install</code></pre>

<p>To build the ddc morph package, then do:</p>

<pre><code> cd ..
 cd ddc-morph-X.Y-dx-Z ##-- (or wherever the ddc-morph distribution lives)
 sh ./configure
 make
 make install</code></pre>

<p>Finally, set the (legacy) environment variable RML to the directory into which ddc was installed (by default /usr/local/ddc):</p>

<pre><code> export RML=/usr/local/ddc</code></pre>

<p>... and you ought to be ready to roll. Take a look at the configuration files in $RML/etc/ and the example corpora in Test/ to get started.</p>

<h1 id="BUILD-OPTIONS">BUILD OPTIONS</h1>

<p>The &#39;configure&#39; script supports the following options, among others:</p>

<dl>

<dt id="prefix-PREFIX">--prefix=PREFIX</dt>
<dd>

<p>Installation prefix (default=/usr/local). This package installs itself to:</p>

<pre><code> PREFIX/ddc          ##-- root directory (a.k.a. $RML)
 PREFIX/ddc/bin      ##-- executable programs &amp; scripts
 PREFIX/ddc/etc      ##-- runtime configuration files
 PREFIX/ddc/include  ##-- C++ headers
 PREFIX/lib          ##-- runtime libtool libraries</code></pre>

<p>Additionally, the package requires a directory PREFIX/ddc/dict containing morphology data, which should be installed by the ddc-morph package (see <a href="#DEPENDENCIES">&quot;DEPENDENCIES&quot;</a>).</p>

</dd>
<dt id="enable-debug">--enable-debug</dt>
<dd>

<p>Enable debugging flags. Only works for GNU C++ compiler.</p>

</dd>
<dt id="enable-warnings">--enable-warnings</dt>
<dd>

<p>Enable lots of compiler warnings. Only works for GNU C++ compiler.</p>

</dd>
<dt id="disable-shared">--disable-shared</dt>
<dd>

<p>Disable compilation of shared libraries.</p>

</dd>
<dt id="without-libcurl">--without-libcurl</dt>
<dd>

<p>Force DDC to build without CURL support.</p>

</dd>
</dl>

<p>See the output of `./configure --help` for details on additional supported options.</p>

<h1 id="KNOWN-BUGS">KNOWN BUGS</h1>

<p>Many.</p>

<h1 id="AUTHOR">AUTHOR</h1>

<p>Alexey Sokirko wrote DDC.</p>

<p>Bryan Jurish &lt;jurish@bbaw.de&gt; made various improvements and maintains the DDC-2.x branch.</p>


</body>

</html>