Skip to main content.
home | support | download

Back to List Archive

Re: Swish.cgi and Perl mods install

From: Bill Moseley <moseley(at)not-real.hank.org>
Date: Fri Apr 09 2004 - 19:06:03 GMT
On Fri, Apr 09, 2004 at 09:57:00AM -0700, Phil Matt wrote:
> I am trying to run the swish.cgi script that comes with the distribution.
> I tested the script from the command line, 
> perl -c /www/cgi-bin/swish.cgi
> 
> and I got back from the server:
> 
> Can't locate SWISH/ParseQuery.pm in @INC
> <@INC contains: @@perlmoduledir@@ /usr/loca/lib/perl5/5.6.1/i386-freebsd
                  ^^^^^^^^^^^^^^^^^

You can't copy files from the distribution -- you need to use
./configure && make && make install as per the installation
instructions.  @@perlmoduledir@@ will then be set correctly on the
installed program(s).

-- 
Bill Moseley
moseley@hank.org
Received on Fri Apr 9 12:06:04 2004