Hey all:
The version of SWISH-E that I am using is 2.4.3.
I continually receive this message in the error_log file.
Stemmed index needs Stemmer.pm to highlight: Can't locate loadable object for module SWISH::Stemmer in @INC (@INC contains: /usr/local/swish/example/modules/SWISH /home/cep/code /usr/local/swish/example/modules /System/Library/Perl/5.8.1/darwin-thread-multi-2level /System/Library/Perl/5.8.1 /Library/Perl/5.8.1/darwin-thread-multi-2level /Library/Perl/5.8.1 /Library/Perl /Network/Library/Perl/5.8.1/darwin-thread-multi-2level /Network/Library/Perl/5.8.1 /Network/Library/Perl .) at /usr/local/swish/example/modules/SWISH/PhraseHighlight.pm line 25
Compilation failed in require at /usr/local/swish/example/modules/SWISH/PhraseHighlight.pm line 25, <GEN0> line 34.
I thought it might be caused by the SWISH::Stemmer perl module. So, I tried to install it using the way that Bill Moseley gave in message: http://swish-e.org/archive/2004-11/8528.html.
% gzip -dc SWISH-Stemmer-0.05.tar.gz |tar xof -
% cd SWISH-Stemmer-0.05
% perl Makefile.PL
or
% perl Makefile.PL PREFIX=$HOME/perl_lib
% make
% make test
(perhaps su root at this point if you did not use a PREFIX)
% make install
% cd ..
But I failed to make it and got this error:
cd lib && make
make[1]: Nothing to be done for `all'.
cc -c -g -pipe -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -I/usr/local/include -Os -DVERSION=\"0.05\" -DXS_VERSION=\"0.05\" "-I/System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE" Stemmer.c
Running Mkbootstrap for SWISH::Stemmer ()
chmod 644 Stemmer.bs
rm -f blib/arch/auto/SWISH/Stemmer/Stemmer.bundle
LD_RUN_PATH="" MACOSX_DEPLOYMENT_TARGET=10.3 cc -bundle -undefined dynamic_lookup -L/usr/local/lib Stemmer.o -o blib/arch/auto/SWISH/Stemmer/Stemmer.bundle lib/libmylib.a
ld: can't locate file for: -lbundle1.o
make: *** [blib/arch/auto/SWISH/Stemmer/Stemmer.bundle] Error 1
I have spent several days on finding the cause of the error but got nothing. I am going mad with it. Does anybody can help me on this?
Thanks a lot!
Michael (Huamin)
Received on Fri Jan 12 20:10:31 2007