develooper Front page | perl.libwww | Postings from November 2001

Can't locate LWP/Protocol/MyHTTP.pm in @INC (With Solaris 8, Apache 1.3.22, Perl 5.6.1, modperl 1.26, libwww-perl 5.60

From:
Spruyt Thor
Date:
November 30, 2001 01:24
Subject:
Can't locate LWP/Protocol/MyHTTP.pm in @INC (With Solaris 8, Apache 1.3.22, Perl 5.6.1, modperl 1.26, libwww-perl 5.60
Message ID:
E76F715C0429D5118F2100508BB9EDEE1EE9BA@hrtades7.atea.be
Hi,

I have a script that does http requests with LWP. Everything runs fine from
command line. Everyhting runs fine as CGI script under Apache, but when I
let the script run under modperl, suddenly I get this message:

[Fri Nov 30 10:07:37 2001] [error] PerlRun: `Can't locate
LWP/Protocol/MyHTTP.pm in @INC (@INC contains:
/usr/local/lib/perl5/5.6.1/sun4-solaris /usr/local/lib/perl5/5.6.1
/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris
/usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl
/usr/local/apache/ /usr/local/apache/lib/perl) at
/opt/smsgw/cgi-bin/proxy.cgi line 8.
BEGIN failed--compilation aborted at /opt/smsgw/cgi-bin/proxy.cgi line 8.

What could be the problem ?

I'm new to modperl btw so maybe some urls could do.

Thanx,

Thor Spruyt




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About