[go: up one dir, main page]

Menu

Tree [r646] / 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 2016-09-06 mukau [r645] + updated ddc-query.sh, ddc-request.sh: minimal...
 etc 2016-06-30 mukau [r594] * removed c4-simulation debugging code from ddc...
 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 2016-09-06 mukau [r645] + updated ddc-query.sh, ddc-request.sh: minimal...
 skel 2014-09-10 mukau [r291] + ddc-server.sh
 src 2016-09-05 mukau [r643] v2.0.45 Mon, 05 Sep 2016 13:25:16 +0200 moocow
 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 2016-09-05 mukau [r643] v2.0.45 Mon, 05 Sep 2016 13:25:16 +0200 moocow
 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 2016-09-05 mukau [r642] + added support for #SEPARATE keyword (bSepara...
 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

=pod

README for package ddc

Last updated for ddc v2.0.15

=head1 DESCRIPTION

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

The DDC-2.x branch is maintained in SVN under:

 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/

=head1 DEPENDENCIES

=over 4

=item ddc-morph E<gt>= v2.0.0

Morphology data.

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.

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

The ddc-morph sources are maintained in SVN under:

 https://ddc-concordance.svn.sourceforge.net/svnroot/ddc-morph

=item libpcre, libpcrecpp

Perl-compatibile regular expression C library and C++ wrappers.

URL: http://www.pcre.org/

Tested version(s): 8.02


=item libcurl (optional)

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.

URL: http://curl.haxx.se/

Tested version(s): 7.21.0

=item GNU bison (optional)

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

 $ touch src/ConcordLib/yyQParser.cpp src/ConcordLib/yyQParser.h

before re-compiling.

=item GNU flex (optional)

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

 $ touch src/ConcordLib/yyQLexer.cpp src/ConcordLib/yyQLexer.h

before re-compiling.

=back


=head1 INSTALLATION

Issue the following commands to the shell:

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

To build the ddc morph package, then do:

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

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

 export RML=/usr/local/ddc

... 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.

=head1 BUILD OPTIONS

The 'configure' script supports the following options, among others:

=over 4

=item --prefix=PREFIX

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

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

Additionally, the package requires a directory PREFIX/ddc/dict
containing morphology data, which should be installed by
the ddc-morph package (see L</DEPENDENCIES>).

=item --enable-debug

Enable debugging flags. Only works for GNU C++ compiler.

=item --enable-warnings

Enable lots of compiler warnings.  Only works for GNU C++ compiler.

=item --disable-shared

Disable compilation of shared libraries.

=item --without-libcurl

Force DDC to build without CURL support.

=back

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


=head1 KNOWN BUGS

Many.

=head1 AUTHOR

Alexey Sokirko wrote DDC.

Bryan Jurish E<lt>jurish@bbaw.deE<gt> made various improvements and maintains the DDC-2.x branch.