Skip to main content.
home | support | download

Back to List Archive

Re: problems with phrasehighlight and output

From: Bill Moseley <moseley(at)>
Date: Mon Jan 05 2004 - 16:19:03 GMT
On Mon, Jan 05, 2004 at 04:52:03PM +0100, Lammersdorf, Lorenz wrote:
> no. i added /usr/local/lib/swish-e/perl/SWISH for some testing in
> .swishcgi.conf, but it doesn't work too.
> swish.cgi looks like that:
> use lib qw('');  		### This may need to be adjusted!

How did you install swish?  I can't imagine how that could end up like 
that.  In the source file (before running "make") it looks like:

   use lib qw( @@perlmoduledir@@ );

and after install

   use lib qw( /usr/local/lib/swish-e/perl );

> my $DEFAULT_CONFIG_FILE = '/home/install/httpd/cgi-bin/.swishcgi.conf';

>             package         => 'SWISH::PhraseHighlight',

Regardless, that's not what the error message is showing.
Trust the error messages and I think you will find the problem.

moseley@bumby:~/apache$ perl -MFoo
Can't locate in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.2 /usr/local/share/perl/5.8.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8.2 /usr/share/perl/5.8.2 /usr/local/lib/site_perl /usr/local/lib/perl/5.8.1 /usr/local/share/perl/5.8.1 /usr/local/lib/perl/5.8.0 /usr/local/share/perl/5.8.0 .).
moseley@bumby:~/apache$ perl -MFoo::Bar
Can't locate Foo/ in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.2 /usr/local/share/perl/5.8.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8.2 /usr/share/perl/5.8.2 /usr/local/lib/site_perl /usr/local/lib/perl/5.8.1 /usr/local/share/perl/5.8.1 /usr/local/lib/perl/5.8.0 /usr/local/share/perl/5.8.0 .).

Bill Moseley
Received on Mon Jan 5 16:19:56 2004