LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-19-2006, 11:46 PM   #1
Dr_Death_UAE
Member
 
Registered: Jul 2005
Location: U.A.E
Distribution: FreeBSD,Fedora,Solaris,AIX
Posts: 168

Rep: Reputation: 30
Can't locate LWP/Simple.pm


hi, i have problem with the perl module LWP::simple

when i run my script, its give me this error message:

Can't locate LWP/Simple.pm in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.6.1/mach /usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.6.1/BSDPAN /usr/local/lib/perl5/5.6.1/mach /usr/local/lib/perl5/5.6.1 .) at script.pl line 20.
BEGIN failed--compilation aborted at script.pl line 20.


i run :
perl -MCPAN -e 'install Bundle::LWP'

but it fail in the Test script:

Failed Test Status Wstat Total Fail Failed List of Failed
--------------------------------------------------------------------------------
html/form-param.t 2 512 24 24 100.00% 1-24
html/form.t 2 512 122 122 100.00% 1-122
local/autoload-get.t 1 1 100.00% 1
local/autoload.t 1 1 100.00% 1
local/get.t 2 512 2 2 100.00% 1-2
local/http-get.t 20 6 30.00% 1-2, 5-7, 20
local/http.t 18 6 33.33% 1-2, 5-7, 18
robot/ua-get.t 8 2 25.00% 3, 5
robot/ua.t 7 2 28.57% 3, 5
Failed 9/30 test scripts, 70.00% okay. 166/799 subtests failed, 79.22% okay.
*** Error code 2

Stop in /root/.cpan/build/libwww-perl-5.805.
/usr/bin/make test -- NOT OK

and this is my @INC path:

@INC:
/usr/local/lib/perl5/site_perl/5.6.1/mach
/usr/local/lib/perl5/site_perl/5.6.1
/usr/local/lib/perl5/site_perl
/usr/local/lib/perl5/5.6.1/BSDPAN
/usr/local/lib/perl5/5.6.1/mach
/usr/local/lib/perl5/5.6.1
 
Old 03-21-2006, 03:30 PM   #2
DanTaylor
Member
 
Registered: Jan 2006
Distribution: Debian Sarge
Posts: 265

Rep: Reputation: 30
It sounds maybe like you need to install the libwww-perl-5.805 package.

Also, you would probably get more replies on this in the programming forum
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Netdiff can not locate Simple.pm Rivitir Linux - Software 0 01-16-2006 12:39 PM
How do I get the LWP pid of linux threads? ninelion Programming 4 08-16-2005 08:32 PM
lwp::useragent and downloading images joesbox Programming 3 02-17-2004 09:03 AM
simple question: where do the networking settings locate? gsbarry Linux - Networking 1 02-08-2003 12:39 AM
using LWP linuxRules Programming 0 06-27-2002 01:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration