Gossamer Forum
Home : Products : Links 2.0 : Customization :

gofetch no workie & perl libs

Quote Reply
gofetch no workie & perl libs
Hello,

I havethe following errors when trying to run gofetch.cgi manually from the command line. I know that I am missing some library modules, but CPAN has virtually no documentation on how to install them properly coupled with the fact that there is virtually no documentation on any of these libs. I have attemted to add the LWP library, but I am not sure if they installed correctly(Idon't think they were because it isn't working. I have installed many libs before, but I have always had easy to understand step-by-step instructions in a README file.

I am sure I will get a good scolding from Eliot, but here is the error.

Content-type: text/html

<H1>Software error:</H1>
<CODE>[Sat Dec 16 08:22:04 2000] Message.pm: Can't locate HTTP/Message.pm in @INC (@INC contains: /usr/local/lib/perl5/i386-freebsd/5.00404 /usr/local/lib/perl5 /usr/local/lib/perl5/site_perl/i386-freebsd /usr/local/lib/perl5/site_perl .) at /usr/local/lib/perl5/LWP/UA.pm line 13.
</CODE>
<P>
Please send mail to this site's webmaster for help.
Content-type: text/html

<H1>Software error:</H1>
<CODE>[Sat Dec 16 08:22:04 2000] UA.pm: [Sat Dec 16 08:22:04 2000] Message.pm: Can't locate HTTP/Message.pm in @INC (@INC contains: /usr/local/lib/perl5/i386-freebsd/5.00404 /usr/local/lib/perl5 /usr/local/lib/perl5/site_perl/i386-freebsd /usr/local/lib/perl5/site_perl .) at /usr/local/lib/perl5/LWP/UA.pm line 13.
</CODE>
<P>
Please send mail to this site's webmaster for help.
Content-type: text/html

<H1>Software error:</H1>
<CODE>[Sat Dec 16 08:22:04 2000] UserAgent.pm: [Sat Dec 16 08:22:04 2000] UA.pm: [Sat Dec 16 08:22:04 2000] Message.pm: Can't locate HTTP/Message.pm in @INC (@INC contains: /usr/local/lib/perl5/i386-freebsd/5.00404 /usr/local/lib/perl5 /usr/local/lib/perl5/site_perl/i386-freebsd /usr/local/lib/perl5/site_perl .) at /usr/local/lib/perl5/LWP/UA.pm line 13.
BEGIN failed--compilation aborted at ./gofetch.cgi line 623.
</CODE>
<P>
Please send mail to this site's webmaster for help.
[Sat Dec 16 08:22:04 2000] gofetch.cgi: [Sat Dec 16 08:22:04 2000] UserAgent.pm: [Sat Dec 16 08:22:04 2000] UA.pm: [Sat Dec 16 08:22:04 2000] Message.pm: Can't locate HTTP/Message.pm in @INC (@INC contains: /usr/local/lib/perl5/i386-freebsd/5.00404 /usr/local/lib/perl5 /usr/local/lib/perl5/site_perl/i386-freebsd /usr/local/lib/perl5/site_perl .) at /usr/local/lib/perl5/LWP/UA.pm line 13.
[Sat Dec 16 08:22:04 2000] gofetch.cgi: BEGIN failed--compilation aborted at ./gofetch.cgi line 623.


Quote Reply
Re: gofetch no workie & perl libs In reply to
Try using the following codes before use HTTP::Message;

Code:

use lib '/absolute/path/to/your/directory';


Change /absolute/path/to/your/directory/ to the absolute path where the HTTP module is located.

Regards,

Eliot Lee