Skip to main content.
home | support | download

Back to List Archive

Re: problem with -prog and running spider.pl

From: David L Norris <dave(at)not-real.webaugur.com>
Date: Sat Jul 13 2002 - 03:52:26 GMT
On Fri, 2002-07-12 at 17:57, Avi Rappoport wrote:
> It says Indexing ./spider.pl
> zsh: no such file or directory: ./spider.pl

I just tested this on MacOS X.1.


Included spider.pl:
  bash-2.05a$ ../src/swish-e -S prog -i ./spider.pl 
  Indexing Data Source: "External-Program"
  Indexing "./spider.pl"
  zsh: no such file or directory: ./spider.pl


After changing the #! to line "#!/usr/bin/perl -w"
  bash-2.05a$ ../src/swish-e -S prog -i ./spider.pl 
  Indexing Data Source: "External-Program"
  Indexing "./spider.pl"
  Can't locate LWP/RobotUA.pm 


Looks like MacOS X doesn't have LWP installed by default.  Probably will
need some other modules, also.

You'll need to grab the required PERL modules from cpan.org and install
them either system-wide (i.e. as root) or (slighty more complex) as the
user who will be running spider.pl.  There are a bunch of threads on
this (look for swishspider or just spider) in the SWISH-E list
archives.  You may be able to find some guides at cpan.org.

-- 
 David Norris
  Dave's Web - http://www.webaugur.com/dave/
  Augury Net - http://augur.homeip.net/
  ICQ - 412039
Received on Sat Jul 13 03:55:56 2002