Current location: Hot Scripts Forums » Programming Languages » Perl » Newbie: Help installing module....


Newbie: Help installing module....

Reply
  #1 (permalink)  
Old 07-30-04, 10:11 AM
jenf jenf is offline
Newbie Coder
 
Join Date: Jun 2004
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Question Newbie: Help installing module....

Hi, I'm trying to install the LWP::UserAgent module, and when I do a make test, I get this:


PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/libdata/perl/5.00503/mach -I/usr/libdata/perl/5.00503 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/01_about_verbose..Can't locate URI.pm in @INC (@INC contains: blib/arch blib/lib /usr/libdata/perl/5.00503/mach /usr/libdata/perl/5.00503 /usr/local/lib/perl5/site_perl/5.005/i386-freebsd /usr/local/lib/perl5/site_perl/5.005/i386-freebsd /usr/local/lib/perl5/site_perl/5.005 . /usr/libdata/perl/5.00503/mach /usr/libdata/perl/5.00503 /usr/local/lib/perl5/site_perl/5.005/i386-freebsd /usr/local/lib/perl5/site_perl/5.005 . /usr/libdata/perl/5.00503/mach /usr/libdata/perl/5.00503) at (eval 1) line 3.
BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.005/LWP/UserAgent.pm line 12.
BEGIN failed--compilation aborted at blib/lib/LWP/UserAgent/Determined.pm line 5.
BEGIN failed--compilation aborted at t/01_about_verbose.t line 12.
dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 1-2
Failed 2/2 tests, 0.00% okay
t/10_determined_test.Can't locate URI.pm in @INC (@INC contains: blib/arch blib/lib /usr/libdata/perl/5.00503/mach /usr/libdata/perl/5.00503 /usr/local/lib/perl5/site_perl/5.005/i386-freebsd /usr/local/lib/perl5/site_perl/5.005/i386-freebsd /usr/local/lib/perl5/site_perl/5.005 . /usr/libdata/perl/5.00503/mach /usr/libdata/perl/5.00503 /usr/local/lib/perl5/site_perl/5.005/i386-freebsd /usr/local/lib/perl5/site_perl/5.005 . /usr/libdata/perl/5.00503/mach /usr/libdata/perl/5.00503) at (eval 1) line 3.
BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.005/LWP/UserAgent.pm line 12.
BEGIN failed--compilation aborted at blib/lib/LWP/UserAgent/Determined.pm line 5.
BEGIN failed--compilation aborted at t/10_determined_test.t line 9.
dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 1-11
Failed 11/11 tests, 0.00% okay
Failed Test Status Wstat Total Fail Failed List of failed
-------------------------------------------------------------------------------
t/01_about_verb 2 512 2 2 100.00% 1-2
t/10_determined 2 512 11 11 100.00% 1-11
Failed 2/2 test scripts, 0.00% okay. 13/13 subtests failed, 0.00% okay.
*** Error code 2

Stop in /usr/local/psa/LWP-UserAgent-Determined-1.03.


I don't know Perl at all . What do I need to do to be able to install this module? Please be as basic in your explanation as possible. When I say newbie, I mean, newbies know more than me. Thanks.


I should mention, that when I run find /usr/local/psa/lib/perl5/ | grep URI.pm,
I get this:

/usr/local/psa/lib/perl5/site_perl/5.005/i386-freebsd/Apache/URI.pm
/usr/local/psa/lib/perl5/site_perl/5.005/URI.pm

Last edited by jenf; 07-30-04 at 10:17 AM. Reason: Addition....
Reply With Quote
  #2 (permalink)  
Old 07-30-04, 11:27 PM
Chas Chas is offline
Coding Addict
 
Join Date: Oct 2003
Location: California
Posts: 359
Thanks: 0
Thanked 0 Times in 0 Posts
I'd try installing the whole LWP bundle via CPAN:

Code:
perl -MCPAN -e 'install Bundle::LWP'
~Charlie
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help Install a perl module jgill Perl 7 07-28-06 09:11 AM
perl/cgi newbie. hangman.cgi script adding html-like code on web and other trouble Arowana Perl 12 11-13-03 02:24 PM
[Needed] Basic link module for upcomming portal script MikeXP PHP 0 09-21-03 04:18 AM
Translation request...(Xoops quiz module) kiange Script Requests 0 09-08-03 02:59 PM
Newbie needs help installing CGI Script ljnelson The Lounge 2 07-30-03 01:47 PM


All times are GMT -5. The time now is 03:58 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.