Question
I have been following the installation instructions very closely and I was testing my
KinoSearch plugin, as instructed. My working directory was /var/www/twiki/kinosearch/bin when i tried issuing the ./kinoindex command. My terminal gave me the following output:
[root@ud4350552 bin]# ./kinoindex
Can't locate TWiki/Contrib/SearchEngineKinoSearchAddOn/Index.pm in
@INC
(
@INC
contains: /var/www/twiki/kinosearch/lib . /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at ./kinoindex line 20.
BEGIN failed--compilation aborted at ./kinoindex line 20.
This problem has been taken care of at this support topic:
http://twiki.org/cgi-bin/view/Support/KinoSearch
However, it is fairly vague by saying that "KinoSearch is not installed." I had installed all the CPAN modules and running the perl -MCPAN -e "install
KinoSearch " command shows that
KinoSearch is "up to date."
Can anyone provide feedback as to what I must do to fix this?
Environment
--
GregNiedermaier - 11 Aug 2008
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
I would suspect that you need to configure a setlib.cfg or
LocalLib.cfg in the directory that the kinoindex script is in, now to run that script from the twiki/bin dir.
ala
cd twiki/bin
../kinosearch/kinoindex
--
SvenDowideit - 12 Aug 2008
I added this directory to my
LocalLib.cfg file where it asks for the location of perl modules:
/usr/lib/perl5/5.8.8/CPAN
is that what you are recommending Sven?
--
GregNiedermaier - 12 Aug 2008
Oh, I also noticed that my configure page comes up with the following error in the CGI Setup tab:
CGI bin directory: /var/www/twiki/bin
Warning: kinosearch might not be an executable script - please check it (and its permissions) manually.
--
GregNiedermaier - 12 Aug 2008
Sorry, closing after more than 30 days. Please reopen with more details if needed...
--
PeterThoeny - 06 Nov 2008