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 |
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:D |
All times are GMT -5. The time now is 09:43 AM. |