Instructions for Building and Testing Perl Interface to CLucene on Linux RH9.3 ============================================================================== 2004-April-05 Download and install swig-1.3 or later to /usr/local and make sure it's in your PATH, e.g. "export PATH=/usr/local/bin:$PATH" Build and install CLucene 0.8.9 on Linux to below $HOME/clucene_test mkdir ~/cl cd ~/cl tar xfz ~/clucene-0.8.9-src.tar.gz cd build/gcc/build ./build Build perl interface to CLucene cd ../../wrappers/perl make Test make test To use this beta software (no warranty implied, use at own risk) in a production environment 1) Build CLucene as an optimized library (-O flag instead of -g when compiling CLucene) and install the libraries to /usr/lib. Alternatively place below /usr/local/lib, add /usr/local/lib to /etc/ld.so.conf and run "ldconfig" 2) Install perl modules; this will depend on how your perl is set up, but for example cd wrappers/perl cp CLuceneWrap.so /usr/lib/perl5/site_perl/5.8.0/ mkdir -p /usr/lib/perl5/site_perl/5.8.0/FulltextSearch cp FulltextSearch/CLucene.pm FulltextSearch/CLuceneWrap.pm /usr/lib/perl5/site_perl/5.8.0/