Read with Formatting | Join TechSpot! (it's free) | Bookmark / Share this



Perl Modules problem after running Script

Dataslycer
07-25-2005, 05:08 PM
After running the script

Can't locate HTTP/Request.pm in @INC (@INC contains: /home/wrhodes/perl-lib/ /home/hifi/perl5-lib /usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0 /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl .) at /home/wrhodes/perl-lib//LWP/UserAgent.pm line 122.
BEGIN failed--compilation aborted at /home/wrhodes/perl-lib//LWP/UserAgent.pm line 122.
Compilation failed in require at /home/wrhodes/perl-lib//Finance/Quote/UserAgent.pm line 29.
BEGIN failed--compilation aborted at /home/wrhodes/perl-lib//Finance/Quote/UserAgent.pm line 29.
Compilation failed in require at /home/wrhodes/perl-lib//Finance/Quote.pm line 36.
BEGIN failed--compilation aborted at /home/wrhodes/perl-lib//Finance/Quote.pm line 36.
Compilation failed in require at getstockquote.pl line 72.
BEGIN failed--compilation aborted at getstockquote.pl line 72.

I have a few questions about the errors in nature. The first one deals with Compilation failed in require at /home/wrhodes/perl-lib//Finance/Quote.pm line 36.
BEGIN failed--compilation aborted at /home/wrhodes/perl-lib//Finance/Quote.pm line 36.

What is the nature of this constantly problem?



Second, how do you install modules if you do not have access to the server libraries? Typing "Make file" gives me an unsupported syntax error.

ihameed
07-26-2005, 12:13 PM
I know almost nothing about Perl, but I'd imagine that you are missing a file:
/home/wrhodes/perl-lib/HTTP/Request.pm

Does this file exist? What script are you trying to run, anyway?

Ad
07-26-2005, 12:13 PM

Dataslycer
07-26-2005, 12:31 PM
getstockquote.pl

I know that I am missing the file though I can't manually install it into the perl library due to lack of permission of access to it.

ihameed
07-26-2005, 12:34 PM
What is your username? If you're wrhodes, an appropriate inclusion area appears to be in your home directory (/home/wrhodes/perl-lib/), so why not drop the required directory tree in there?

somehow, i have the feeling that i'm telling you things you already know... :|

Dataslycer
07-26-2005, 01:16 PM
I have other modules that doesn't contain that path in the INC so that would only be a temporary solution unless you can change it for the other modules.

 Top Technology News

 Software Downloads

Copyright © 1998-2008 TechSpot.com. TechSpot is a registered trademark. All Rights Reserved.