also @ TechSpot: Motorola Droid 4 unboxing, hands-on video
Welcome to the TechSpot OpenBoards. Please read the FAQ if you have any questions. Sign up or Login to participate.

Go Back   TechSpot OpenBoards > Software > The Alternative OS

Download Now:

Perl Modules problem after running Script

Thread Tools Search this Thread
  #1  
Old 07-25-2005
TechSpot Member
 
Member since: Jun 2005, 47 posts
Perl Modules problem after running Script

After running the script

Quote:
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
Quote:
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.
  #2  
Old 07-26-2005
Newcomer, in training
 
Location: Olathe, KS
Member since: Jul 2005, 10 posts
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?
  #3  
Old 07-26-2005
TechSpot Member
 
Member since: Jun 2005, 47 posts
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.
  #4  
Old 07-26-2005
Newcomer, in training
 
Location: Olathe, KS
Member since: Jul 2005, 10 posts
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... :|
  #5  
Old 07-26-2005
TechSpot Member
 
Member since: Jun 2005, 47 posts
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.
Closed Thread

Similar Topics
Topic Replies Forum
Intel D865 PERL shutting down 1 Processors and Motherboards
Displays Error: Windows Script Host, Can not find script file "H:/FS6519.dll.vbs" 0 Virus and Malware Removal
Script Problem 6 Software Apps
Problem with Photo Upload PHP script 1 Site Feedback and Suggestions
I love Perl.. Do you? 6 Software Apps

Thread Tools Search this Thread
Search this Thread:

Advanced Search
All times are GMT -4. The time now is 05:44 AM.