you need to install the perl module LWP::RobotUA
if there's no port, usually cpan can do it for you:
sudo cpan LWP::RobotUA
(assuming you use sudo)
Miroslav Koula scribbled on 1/27/06 9:53 AM:
> installed in my FreeBSD 6 the swish-e from ports
> (/usr/ports/www/swish-e) and then Istart to try indexing some site
> through the Perl robot, but it ends by error telling me this:
> home# swish-e -S prog -c swish.conf
> Indexing Data Source: "External-Program"
> Indexing "spider.pl"
> External Program found: /usr/local/lib/swish-e/spider.pl
> Can't locate LWP/RobotUA.pm in @INC (@INC contains:
> /usr/local/lib/swish-e/perl /usr/local/lib/perl5/site_perl/5.8.7/mach
> /usr/local/lib/perl5/site_perl/5.8.7 /usr/local/lib/perl5/site_perl
> /usr/local/lib/perl5/5.8.7/BSDPAN /usr/local/lib/perl5/5.8.7/mach
> /usr/local/lib/perl5/5.8.7 .) at /usr/local/lib/swish-e/spider.pl line
> BEGIN failed--compilation aborted at /usr/local/lib/swish-e/spider.pl line 33.
> Removing very common words...
> no words removed.
> Writing main index...
> err: No unique words indexed!
> My swish.conf look this way:
> #Example for spidering
> # Use the "spider.pl" program included with Swish-e
> IndexDir spider.pl
> # Define what site to index
> SwishProgParameters default http://www.fkmb.cz
> Dont' you have any suggestion where could be the problem? On the line 33 is:
> use LWP::RobotUA;
> I was trying to look forward something on disscussions, but I didn't
> find something similar...
> Thaks mIREK
Peter Karman . http://peknet.com/ . peter(at)not-real.peknet.com
Received on Fri Jan 27 07:55:53 2006