Skip to main content.
home | support | download

Back to List Archive

Re: Perl problem with swishspider on Linux

From: Asa Packer <packer(at)not-real.math.washington.edu>
Date: Wed Dec 09 1998 - 19:34:52 GMT
Hi Winfried,

You need to install the HTML-Tree-0.51 package - it has HTML/Parse.pm in
it.

-Asa

On Tue, 8 Dec 1998, Winfried Barta wrote:

> Im running Swish-E 1.2 on SuSE-Linux 2.0.33 and perl-5.004_04-6.
> 
> I have installed the following Perl-Modules:
> 
> Data-Dumper-2.10
> 
> Digest-MD5-2.00
> 
> HTML-Parser-2.21
> 
> URI-1.00
> 
> MIME-Base64-2.09
> 
> libnet-1.0605
> 
> libwww-perl-5.41
> 
> I compiled swish-e successfully with the http-method. I get the <usage-message> when invoking swish-e.
> 
> When I try to create an index with `swish-e -c ./src/user.config` I get the message:
> 
> "Can't locate HTML/Parse.pm in @INC"
> 
> I can only find HTML/Parser.pm, but when I change swishspider to that (line 7 and 53), I get the message:
> 
> "retrieving http://...
> 
> Undefined subroutine &HTML::Parser::parse_html called at /opt/search/swish-e/src/swishspider line 53."
> 
> I can only find the subroutine parse_file in the Modules. But when I change this also, I get:
> 
> "retrieving http://
> 
> Can't open : No such file or directory at /usr/lib/perl5/site_perl/HTML/Parser.pm line 230."
> 
> Have I installed the wrong modules, the wrong perl-version, ..?
> 
> Thanks a lot for helping me.
> 
> 
> 
> --
> Winfried.Barta@stud.uni-regensburg.de
> 
> 
> 
Received on Wed Dec 9 11:35:45 1998