Guy Waugh scribbled on 4/16/07 8:35 PM:
> I've just compiled swish-e on an RHEL3 server and I'm trying to use
> spider.pl to index a website. I've installed swish-e in
> When I cd to the /usr/local/inst/www/swish-e-2.4.5/lib/swish-e directory
> and run './spider.pl default http://<url.to.index>/', it says this:
> No SWISH filters found
> ./spider.pl: Reading parameters from 'default'
> Can't locate object method "decoded_content" via package "HTTP::Headers"
> at (eval 20) line 1.
SWISH::Filter should be installed in
spider.pl should have its @INC set to include the path:
automatically as part of the install. You might want to check the 'use lib'
lines at the start of the spider.pl to make sure they are correct.
Looks like you many need to install HTTP::Headers as well.
I've been a RedHat user for many years, but I shy from using the perl module
RPMs except when they're needed in support of some other rpm (like a db package,
Apache, etc.). Instead, I recommend you familiarize yourself with the perl CPAN
tools. Should be as simple as:
sudo cpan -i HTTP::Headers
and you'll need to configure it the first time you run it (which it'll walk you
for more info.
Peter Karman . http://peknet.com/ . peter(at)not-real.peknet.com
Users mailing list
Received on Mon Apr 16 21:44:29 2007