Read on full site | Join TechSpot! (it's free) | Bookmark / Share this



Perl Modules problem after running Script

Dataslycer
07-25-2005, 06: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, 01: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, 01:13 PM
  

Dataslycer
07-26-2005, 01: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, 01: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, 02: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.

Post a reply, see related topics & more

Tip: Download Advanced SystemCare 3 Free - Clean, Repair, Protect & Optimize your PC.



 Top Technology News

TechSpot Blog: Disable Windows automatic check for solutions after a program crashes

Weekend Open Forum: Google Chrome OS and the future of cloud computing

Tech Tip of the Week: Unearth Region-Specific Windows 7 Themes

Sony: PlayStation 3 to be 3D-capable via firmware update

iSuppli: DDR3 to account for over half of DRAM shipments by Q2 2010

Facebook named third most popular video website behind YouTube and Hulu

Patriot introduces new PS-100 SSD series

Sony working on digital store for music, movies, books

More Tech News

  
 Software Downloads

Norton Virus Definitions 2003-07 November 20, 2009

AVG Anti-Virus Updates November 20, 2009

Norton Virus Definitions 2008-09 November 20, 2009

avast! Virus Definitions November 20, 2009

McAfee SuperDAT Update 5808

Kaspersky Anti-Virus Update November 20, 2009

Google SketchUp 7.1.6087

More Downloads



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