Tags:
create new tag
, view all tags

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

TWiki version: TWikiRelease04x02x00
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: RedHat Enterprise Linux 5
Web server: Apache 2
Perl version: 5.8.5
Client OS: RedHat Enterprise Linux 5
Web Browser: Firefox 1.5.0.9
Categories: Plugins

-- GregNiedermaier - 11 Aug 2008

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list 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

 
Change status to:
Topic revision: r4 - 2008-11-06 - PeterThoeny
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.