There might be two reasons for this error.
First, you may not install "LWP/UserAgent.pm" in your perl library or
other paths defined in @INC.
Second, you may install "LWP/UserAgent.pm" in other directory, which is
not included in @INC. In this case, you can include the path to @INC using
the command " unshift(@INC, the-path-that-has-LWP/UserAgent.pm) " in the
swishspider program or you can move the "LWP/UserAgent.pm" in one of
the paths defined in @INC.
Hope this helps.
On Tue, 22 Jun 1999, Michael Schulz wrote:
> i downloaded the lastest Version of SwishE and compiled it under Linux.
> Now i want to run SwishE as http-methode, so i call swish-e :
> swish-e -S http -c swish-e.config
> but i´ve got the following message
> Can't locate LWP/UserAgent.pm in @INC (@INC contains:
> /usr/lib/perl5/5.00502/i586-linux /usr/lib/perl5/5.00502
> /usr/lib/perl5/site_perl/5.005/i586-linux /usr/lib/perl5/site_perl/5.005
> .) at /usr/src/swish/src/swishspider line 3.
> BEGIN failed--compilation aborted at /usr/src/swish/src/swishspider line
> Any idea?
Received on Tue Jun 22 07:11:26 1999