LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Perl install LWP module ; problems ... (https://www.linuxquestions.org/questions/programming-9/perl-install-lwp-module-%3B-problems-550851/)

danran 05-02-2007 11:24 PM

Perl install LWP module ; problems ...
 
I'm trying to install the LWP Perl module on a gentoo server but i'm running into problems with cpan. I just type 'install LWP' and it seems okay up until the end where it does something goofy with 'base/message' (whatever that is).

Here's the output of 'install LWP':
>>>
cpan[1]> install LWP
CPAN: Storable loaded ok (v2.15)
Going to read /root/.cpan/Metadata
Database was generated on Wed, 02 May 2007 23:10:02 GMT
CPAN: YAML loaded ok (v0.62)
Going to read /root/.cpan/build/
............................................................................DONE
Found 1 old build, restored the state of 1
Running install for module 'LWP'
Running make for G/GA/GAAS/libwww-perl-5.805.tar.gz
CPAN: Time::HiRes loaded ok (v1.86)
LWP not available
CPAN: Net::FTP loaded ok (v2.77)
Fetching with Net::FTP:
ftp://carroll.cac.psu.edu/pub/CPAN/a...l-5.805.tar.gz
CPAN: Digest::SHA loaded ok (v5.44)
LWP not available
Fetching with Net::FTP:
ftp://carroll.cac.psu.edu/pub/CPAN/a...GAAS/CHECKSUMS
Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/5.8.8/i686-linux/Scalar/Util.pm line 30.
Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/5.8.8/i686-linux/Scalar/Util.pm line 30.
Checksum for /root/.cpan/sources/authors/id/G/GA/GAAS/libwww-perl-5.805.tar.gz ok
Scanning cache /root/.cpan/build for sizes
............................................................................DONE
Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/5.8.8/i686-linux/Scalar/Util.pm line 30.
libwww-perl-5.805/
libwww-perl-5.805/lib/
libwww-perl-5.805/lib/HTTP/
libwww-perl-5.805/lib/HTTP/Cookies.pm
libwww-perl-5.805/lib/HTTP/Status.pm
libwww-perl-5.805/lib/HTTP/Cookies/
libwww-perl-5.805/lib/HTTP/Cookies/Netscape.pm
libwww-perl-5.805/lib/HTTP/Cookies/Microsoft.pm
libwww-perl-5.805/lib/HTTP/Request/
libwww-perl-5.805/lib/HTTP/Request/Common.pm
libwww-perl-5.805/lib/HTTP/Headers/
libwww-perl-5.805/lib/HTTP/Headers/Auth.pm
libwww-perl-5.805/lib/HTTP/Headers/ETag.pm
libwww-perl-5.805/lib/HTTP/Headers/Util.pm
libwww-perl-5.805/lib/HTTP/Request.pm
libwww-perl-5.805/lib/HTTP/Response.pm
libwww-perl-5.805/lib/HTTP/Date.pm
libwww-perl-5.805/lib/HTTP/Daemon.pm
libwww-perl-5.805/lib/HTTP/Message.pm
libwww-perl-5.805/lib/HTTP/Negotiate.pm
libwww-perl-5.805/lib/HTTP/Headers.pm
libwww-perl-5.805/lib/LWP/
libwww-perl-5.805/lib/LWP/Protocol/
libwww-perl-5.805/lib/LWP/Protocol/nntp.pm
libwww-perl-5.805/lib/LWP/Protocol/ftp.pm
libwww-perl-5.805/lib/LWP/Protocol/mailto.pm
libwww-perl-5.805/lib/LWP/Protocol/GHTTP.pm
libwww-perl-5.805/lib/LWP/Protocol/nogo.pm
libwww-perl-5.805/lib/LWP/Protocol/file.pm
libwww-perl-5.805/lib/LWP/Protocol/loopback.pm
libwww-perl-5.805/lib/LWP/Protocol/data.pm
libwww-perl-5.805/lib/LWP/Protocol/https10.pm
libwww-perl-5.805/lib/LWP/Protocol/http10.pm
libwww-perl-5.805/lib/LWP/Protocol/https.pm
libwww-perl-5.805/lib/LWP/Protocol/gopher.pm
libwww-perl-5.805/lib/LWP/Protocol/cpan.pm
libwww-perl-5.805/lib/LWP/Protocol/http.pm
libwww-perl-5.805/lib/LWP/RobotUA.pm
libwww-perl-5.805/lib/LWP/Authen/
libwww-perl-5.805/lib/LWP/Authen/Ntlm.pm
libwww-perl-5.805/lib/LWP/Authen/Digest.pm
libwww-perl-5.805/lib/LWP/Authen/Basic.pm
libwww-perl-5.805/lib/LWP/MemberMixin.pm
libwww-perl-5.805/lib/LWP/media.types
libwww-perl-5.805/lib/LWP/DebugFile.pm
libwww-perl-5.805/lib/LWP/Debug.pm
libwww-perl-5.805/lib/LWP/UserAgent.pm
libwww-perl-5.805/lib/LWP/MediaTypes.pm
libwww-perl-5.805/lib/LWP/Protocol.pm
libwww-perl-5.805/lib/LWP/ConnCache.pm
libwww-perl-5.805/lib/LWP/Simple.pm
libwww-perl-5.805/lib/WWW/
libwww-perl-5.805/lib/WWW/RobotRules/
libwww-perl-5.805/lib/WWW/RobotRules/AnyDBM_File.pm
libwww-perl-5.805/lib/WWW/RobotRules.pm
libwww-perl-5.805/lib/File/
libwww-perl-5.805/lib/File/Listing.pm
libwww-perl-5.805/lib/Net/
libwww-perl-5.805/lib/Net/HTTP/
libwww-perl-5.805/lib/Net/HTTP/Methods.pm
libwww-perl-5.805/lib/Net/HTTP/NB.pm
libwww-perl-5.805/lib/Net/HTTP.pm
libwww-perl-5.805/lib/Net/HTTPS.pm
libwww-perl-5.805/lib/Bundle/
libwww-perl-5.805/lib/Bundle/LWP.pm
libwww-perl-5.805/lib/LWP.pm
libwww-perl-5.805/lib/HTML/
libwww-perl-5.805/lib/HTML/Form.pm
libwww-perl-5.805/t/
libwww-perl-5.805/t/base/
libwww-perl-5.805/t/base/headers-util.t
libwww-perl-5.805/t/base/status.t
libwww-perl-5.805/t/base/cookies.t
libwww-perl-5.805/t/base/headers-etag.t
libwww-perl-5.805/t/base/http.t
libwww-perl-5.805/t/base/date.t
libwww-perl-5.805/t/base/listing.t
libwww-perl-5.805/t/base/response.t
libwww-perl-5.805/t/base/headers-auth.t
libwww-perl-5.805/t/base/common-req.t
libwww-perl-5.805/t/base/protocols.t
libwww-perl-5.805/t/base/message.t
libwww-perl-5.805/t/base/mediatypes.t
libwww-perl-5.805/t/base/ua.t
libwww-perl-5.805/t/base/headers.t
libwww-perl-5.805/t/base/negotiate.t
libwww-perl-5.805/t/base/message-old.t
libwww-perl-5.805/t/base/message-parts.t
libwww-perl-5.805/t/local/
libwww-perl-5.805/t/local/get.t
libwww-perl-5.805/t/local/autoload.t
libwww-perl-5.805/t/local/http.t
libwww-perl-5.805/t/local/http-get.t
libwww-perl-5.805/t/local/autoload-get.t
libwww-perl-5.805/t/local/protosub.t
libwww-perl-5.805/t/live/
libwww-perl-5.805/t/live/jigsaw-te.t
libwww-perl-5.805/t/live/validator.t
libwww-perl-5.805/t/live/jigsaw-md5-get.t
libwww-perl-5.805/t/live/jigsaw-neg.t
libwww-perl-5.805/t/live/jigsaw-auth-d.t
libwww-perl-5.805/t/live/apache-listing.t
libwww-perl-5.805/t/live/jigsaw-md5.t
libwww-perl-5.805/t/live/jigsaw-neg-get.t
libwww-perl-5.805/t/live/jigsaw-chunk.t
libwww-perl-5.805/t/live/jigsaw-auth-b.t
libwww-perl-5.805/t/live/activestate.t
libwww-perl-5.805/t/net/
libwww-perl-5.805/t/net/http-get.t
libwww-perl-5.805/t/net/cgi-bin/
libwww-perl-5.805/t/net/cgi-bin/nph-slowdata
libwww-perl-5.805/t/net/cgi-bin/moved
libwww-perl-5.805/t/net/cgi-bin/test
libwww-perl-5.805/t/net/cgi-bin/slowread
libwww-perl-5.805/t/net/cgi-bin/timeout
libwww-perl-5.805/t/net/proxy.t
libwww-perl-5.805/t/net/http-post.t
libwww-perl-5.805/t/net/moved.t
libwww-perl-5.805/t/net/http-timeout.t
libwww-perl-5.805/t/net/config.pl.dist
libwww-perl-5.805/t/net/mirror.t
libwww-perl-5.805/t/robot/
libwww-perl-5.805/t/robot/rules.t
libwww-perl-5.805/t/robot/ua.t
libwww-perl-5.805/t/robot/ua-get.t
libwww-perl-5.805/t/robot/rules-dbm.t
libwww-perl-5.805/t/README
libwww-perl-5.805/t/html/
libwww-perl-5.805/t/html/form-param.t
libwww-perl-5.805/t/html/form.t
libwww-perl-5.805/t/TEST
libwww-perl-5.805/bin/
libwww-perl-5.805/bin/lwp-rget
libwww-perl-5.805/bin/lwp-mirror
libwww-perl-5.805/bin/lwp-download
libwww-perl-5.805/bin/lwp-request
libwww-perl-5.805/Makefile.PL
libwww-perl-5.805/talk-to-ourself
libwww-perl-5.805/lwptut.pod
libwww-perl-5.805/MANIFEST
libwww-perl-5.805/README.SSL
libwww-perl-5.805/Changes
libwww-perl-5.805/AUTHORS
libwww-perl-5.805/README
libwww-perl-5.805/lwpcook.pod
CPAN: File::Temp loaded ok (v0.18)

CPAN.pm: Going to build G/GA/GAAS/libwww-perl-5.805.tar.gz


This package comes with some sample programs that I can try
to install in /usr/bin.

Note that you can avoid these questions by passing
the '-n' option to 'Makefile.PL'.

Do you want to install lwp-request? [y]
Do you want to install lwp-mirror? [y]
Do you want to install lwp-rget? [y]
Do you want to install lwp-download? [y]

The lwp-request program will use the name it is invoked with to
determine what HTTP method to use. I can set up alias for the most
common HTTP methods. These alias are also installed in
/usr/bin.

Do you want to install the GET alias? [n]
Do you want to install the HEAD alias? [n]
Do you want to install the POST alias? [n]

Checking for URI........... ok
Checking for HTML::Parser.. ok
Checking for MIME::Base64.. ok
Checking for Net::FTP...... ok
Checking for Digest::MD5 .. ok

Checking if your kit is complete...
Looks good
Warning: prerequisite Compress::Zlib 1.10 not found.
Writing Makefile for LWP
cp lib/LWP/RobotUA.pm blib/lib/LWP/RobotUA.pm
cp lib/LWP/Authen/Ntlm.pm blib/lib/LWP/Authen/Ntlm.pm
cp lib/LWP.pm blib/lib/LWP.pm
cp lib/HTTP/Headers/ETag.pm blib/lib/HTTP/Headers/ETag.pm
cp lib/LWP/Protocol.pm blib/lib/LWP/Protocol.pm
cp lwptut.pod blib/lib/lwptut.pod
cp lib/HTTP/Request/Common.pm blib/lib/HTTP/Request/Common.pm
cp lib/LWP/Protocol/ftp.pm blib/lib/LWP/Protocol/ftp.pm
cp lib/HTTP/Message.pm blib/lib/HTTP/Message.pm
cp lib/HTML/Form.pm blib/lib/HTML/Form.pm
cp lib/HTTP/Cookies/Netscape.pm blib/lib/HTTP/Cookies/Netscape.pm
cp lib/LWP/Authen/Digest.pm blib/lib/LWP/Authen/Digest.pm
cp lib/LWP/Protocol/gopher.pm blib/lib/LWP/Protocol/gopher.pm
cp lib/Net/HTTP/NB.pm blib/lib/Net/HTTP/NB.pm
cp lib/HTTP/Status.pm blib/lib/HTTP/Status.pm
cp lib/LWP/Protocol/cpan.pm blib/lib/LWP/Protocol/cpan.pm
cp lib/Net/HTTPS.pm blib/lib/Net/HTTPS.pm
cp lib/HTTP/Headers/Util.pm blib/lib/HTTP/Headers/Util.pm
cp lib/LWP/Authen/Basic.pm blib/lib/LWP/Authen/Basic.pm
cp lib/HTTP/Cookies/Microsoft.pm blib/lib/HTTP/Cookies/Microsoft.pm
cp lib/LWP/UserAgent.pm blib/lib/LWP/UserAgent.pm
cp lib/LWP/Protocol/nntp.pm blib/lib/LWP/Protocol/nntp.pm
cp lib/LWP/Protocol/loopback.pm blib/lib/LWP/Protocol/loopback.pm
cp lib/LWP/Protocol/http.pm blib/lib/LWP/Protocol/http.pm
cp lib/LWP/Protocol/mailto.pm blib/lib/LWP/Protocol/mailto.pm
cp lib/LWP/Protocol/https10.pm blib/lib/LWP/Protocol/https10.pm
cp lib/LWP/MemberMixin.pm blib/lib/LWP/MemberMixin.pm
cp lib/HTTP/Headers/Auth.pm blib/lib/HTTP/Headers/Auth.pm
cp lib/LWP/Debug.pm blib/lib/LWP/Debug.pm
cp lib/Net/HTTP.pm blib/lib/Net/HTTP.pm
cp lib/LWP/media.types blib/lib/LWP/media.types
cp lib/HTTP/Daemon.pm blib/lib/HTTP/Daemon.pm
cp lib/HTTP/Cookies.pm blib/lib/HTTP/Cookies.pm
cp lib/LWP/ConnCache.pm blib/lib/LWP/ConnCache.pm
cp lib/File/Listing.pm blib/lib/File/Listing.pm
cp lib/WWW/RobotRules/AnyDBM_File.pm blib/lib/WWW/RobotRules/AnyDBM_File.pm
cp lwpcook.pod blib/lib/lwpcook.pod
cp lib/LWP/MediaTypes.pm blib/lib/LWP/MediaTypes.pm
cp lib/LWP/Protocol/file.pm blib/lib/LWP/Protocol/file.pm
cp lib/LWP/Protocol/http10.pm blib/lib/LWP/Protocol/http10.pm
cp lib/HTTP/Date.pm blib/lib/HTTP/Date.pm
cp lib/LWP/Protocol/GHTTP.pm blib/lib/LWP/Protocol/GHTTP.pm
cp lib/WWW/RobotRules.pm blib/lib/WWW/RobotRules.pm
cp lib/LWP/DebugFile.pm blib/lib/LWP/DebugFile.pm
cp lib/HTTP/Negotiate.pm blib/lib/HTTP/Negotiate.pm
cp lib/HTTP/Request.pm blib/lib/HTTP/Request.pm
cp lib/LWP/Protocol/data.pm blib/lib/LWP/Protocol/data.pm
cp lib/LWP/Protocol/nogo.pm blib/lib/LWP/Protocol/nogo.pm
cp lib/HTTP/Response.pm blib/lib/HTTP/Response.pm
cp lib/LWP/Simple.pm blib/lib/LWP/Simple.pm
cp lib/HTTP/Headers.pm blib/lib/HTTP/Headers.pm
cp lib/LWP/Protocol/https.pm blib/lib/LWP/Protocol/https.pm
cp lib/Bundle/LWP.pm blib/lib/Bundle/LWP.pm
cp lib/Net/HTTP/Methods.pm blib/lib/Net/HTTP/Methods.pm
cp bin/lwp-mirror blib/script/lwp-mirror
/usr/bin/perl5.8.8 "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/lwp-mirror
cp bin/lwp-download blib/script/lwp-download
/usr/bin/perl5.8.8 "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/lwp-download
cp bin/lwp-rget blib/script/lwp-rget
/usr/bin/perl5.8.8 "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/lwp-rget
cp bin/lwp-request blib/script/lwp-request
/usr/bin/perl5.8.8 "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/lwp-request
Manifying blib/man1/lwp-mirror.1
Manifying blib/man1/lwp-download.1
Manifying blib/man1/lwp-rget.1
Manifying blib/man1/lwp-request.1
Manifying blib/man3/LWP::RobotUA.3pm
Manifying blib/man3/LWP::Authen::Ntlm.3pm
Manifying blib/man3/LWP.3pm
Manifying blib/man3/LWP::Protocol.3pm
Manifying blib/man3/HTTP::Request::Common.3pm
Manifying blib/man3/lwptut.3pm
Manifying blib/man3/HTTP::Message.3pm
Manifying blib/man3/HTML::Form.3pm
Manifying blib/man3/HTTP::Cookies::Netscape.3pm
Manifying blib/man3/Net::HTTP::NB.3pm
Manifying blib/man3/HTTP::Status.3pm
Manifying blib/man3/HTTP::Headers::Util.3pm
Manifying blib/man3/HTTP::Cookies::Microsoft.3pm
Manifying blib/man3/LWP::UserAgent.3pm
Manifying blib/man3/LWP::MemberMixin.3pm
Manifying blib/man3/LWP::Debug.3pm
Manifying blib/man3/Net::HTTP.3pm
Manifying blib/man3/HTTP::Daemon.3pm
Manifying blib/man3/HTTP::Cookies.3pm
Manifying blib/man3/LWP::ConnCache.3pm
Manifying blib/man3/File::Listing.3pm
Manifying blib/man3/WWW::RobotRules::AnyDBM_File.3pm
Manifying blib/man3/LWP::MediaTypes.3pm
Manifying blib/man3/lwpcook.3pm
Manifying blib/man3/HTTP::Date.3pm
Manifying blib/man3/HTTP::Request.3pm
Manifying blib/man3/HTTP::Negotiate.3pm
Manifying blib/man3/LWP::DebugFile.3pm
Manifying blib/man3/WWW::RobotRules.3pm
Manifying blib/man3/HTTP::Response.3pm
Manifying blib/man3/HTTP::Headers.3pm
Manifying blib/man3/LWP::Simple.3pm
Manifying blib/man3/Bundle::LWP.3pm
GAAS/libwww-perl-5.805.tar.gz
/usr/bin/make -- OK
Running make test
/usr/bin/perl5.8.8 t/TEST 0
base/common-req.......ok
base/cookies..........ok
base/date.............ok
base/headers-auth.....ok
base/headers-etag.....ok
base/headers-util.....ok
base/headers..........ok
base/http.............ok
base/listing..........ok
base/mediatypes.......ok
base/message-old......ok
base/message-parts....ok
base/message..........ok 1/95Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/5.8.8/i686-linux/Scalar/Util.pm line 30.
# Test 86 got: <UNDEF> (base/message.t at line 343)
# Expected: "\x{FEFF}Hi there \x{263A}\n"
# base/message.t line 343 is: sub { eval { $m->decoded_content } }, "\x{FEFF}Hi there \x{263A}\n");
# Test 89 got: <UNDEF> (base/message.t at line 352)
# Expected: "\x{FEFF}Hi there \x{263A}\n"
# base/message.t line 352 is: sub { eval { $m->decoded_content } }, "\x{FEFF}Hi there \x{263A}\n");
base/message..........FAILED tests 86, 89
Failed 2/95 tests, 97.89% okay
base/negotiate........ok
base/protocols........ok
base/response.........ok
base/status...........ok
base/ua...............ok
html/form-param.......ok
html/form.............ok
robot/rules-dbm.......ok
robot/rules...........ok
robot/ua-get..........Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/5.8.8/i686-linux/Scalar/Util.pm line 30, <DAEMON> line 1.
robot/ua-get..........ok
robot/ua..............Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/5.8.8/i686-linux/Scalar/Util.pm line 30, <DAEMON> line 1.
robot/ua..............ok
local/autoload-get....ok
local/autoload........ok
local/get.............ok
local/http-get........Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/5.8.8/i686-linux/Scalar/Util.pm line 30, <DAEMON> line 1.
local/http-get........ok
local/http............Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/5.8.8/i686-linux/Scalar/Util.pm line 30, <DAEMON> line 1.
local/http............ok
local/protosub........ok
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
base/message.t 95 2 2.11% 86 89
Failed 1/30 test scripts, 96.67% okay. 2/799 subtests failed, 99.75% okay.
make: *** [test] Error 255
GAAS/libwww-perl-5.805.tar.gz
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force
Failed during this command:
GAAS/libwww-perl-5.805.tar.gz : make_test NO
<<<

I've install CPAN::Bundle, 'o conf init', 'reload cpan', but still no look. I've tried erasing the /root/.cpan/ directory completely and restarting and configuring cpan using 'o conf init', but I still get the same results.

Here is my 'o conf' output:
>>>
cpan[3]> o conf
$CPAN::Config options from '/usr/lib/perl5/5.8.8/CPAN/Config.pm':
commit [Commit changes to disk]
defaults [Reload defaults from disk]
help [Short help about 'o conf' usage]
init [Interactive setting of all options]

applypatch []
auto_commit [0]
build_cache [10]
build_dir [/root/.cpan/build]
build_dir_reuse [1]
build_requires_install_policy [yes]
bzip2 [/bin/bzip2]
cache_metadata [1]
check_sigs [0]
colorize_output [0]
commandnumber_in_prompt [1]
cpan_home [/root/.cpan]
curl [/usr/bin/curl]
dontload_hash
ftp [/usr/bin/ftp]
ftp_passive [1]
ftp_proxy []
getcwd [cwd]
gpg []
gzip [/bin/gzip]
histfile [/root/.cpan/histfile]
histsize [100]
http_proxy []
inactivity_timeout [0]
index_expire [1]
inhibit_startup_message [0]
keep_source_where [/root/.cpan/sources]
lynx [/usr/bin/lynx]
make [/usr/bin/make]
make_arg []
make_install_arg []
make_install_make_command [/usr/bin/make]
makepl_arg []
mbuild_arg []
mbuild_install_arg []
mbuild_install_build_command [./Build]
mbuildpl_arg []
ncftp [/usr/bin/ncftp]
ncftpget [/usr/bin/ncftpget]
no_proxy []
pager [/usr/bin/less]
patch [/usr/bin/patch]
prefer_installer [EUMM]
prefs_dir [/root/.cpan/prefs]
prerequisites_policy [ask]
scan_cache [atstart]
shell [/bin/bash]
show_upload_date [1]
tar [/bin/tar]
term_is_latin [1]
term_ornaments [1]
test_report [0]
unzip [/bin/gunzip]
urllist
0 [ftp://carroll.cac.psu.edu/pub/CPAN/]
use_sqlite [0]
wget [/usr/bin/wget]
yaml_module [YAML]


cpan[4]>
<<<

Any help would be really helpful.

j-ray 05-03-2007 01:56 AM

i would try
sudo cpan Scalar::Util

as the install of this module seems to be corrupted...
hope this helps,
j.

danran 05-03-2007 11:42 AM

I tried running 'cpan Scalar::Util' as root but it returns:
>>>
GreenOrange ~ # cpan Scalar::Util
CPAN: File::HomeDir loaded ok (v0.64)
CPAN: Storable loaded ok (v2.15)
Going to read /root/.cpan/Metadata
Database was generated on Wed, 02 May 2007 23:10:02 GMT
CPAN: YAML loaded ok (v0.62)
Going to read /root/.cpan/build/
............................................................................DONEFound 2 old builds, restored the state of 2
Scalar::Util is up to date (1.19).
<<<

danran 05-03-2007 11:45 AM

I also noticed this message in the output from my original posting: "Warning: prerequisite Compress::Zlib 1.10 not found.". But I find this to not be true. Compress::Zlib is installed and I verified by running the command 'cpan Compress::Zlib'. Here's the output:
>>>
GreenOrange ~ # cpan Compress::Zlib
CPAN: File::HomeDir loaded ok (v0.64)
CPAN: Storable loaded ok (v2.15)
Going to read /root/.cpan/Metadata
Database was generated on Wed, 02 May 2007 23:10:02 GMT
CPAN: YAML loaded ok (v0.62)
Going to read /root/.cpan/build/
............................................................................DONEFound 2 old builds, restored the state of 2
Compress::Zlib is up to date (2.004).
<<<

danran 05-03-2007 12:27 PM

More info...

When I CD into /root/.cpan/build/libwww-perl-5.805-eFDJMm/ and then run the command 'perl Makefile.PL', I get this output:
>>>
GreenOrange libwww-perl-5.805-eFDJMm # perl Makefile.PL

This package comes with some sample programs that I can try
to install in /usr/bin.

Note that you can avoid these questions by passing
the '-n' option to 'Makefile.PL'.

Do you want to install lwp-request? [y]
Do you want to install lwp-mirror? [y]
Do you want to install lwp-rget? [y]
Do you want to install lwp-download? [y]

The lwp-request program will use the name it is invoked with to
determine what HTTP method to use. I can set up alias for the most
common HTTP methods. These alias are also installed in
/usr/bin.

Do you want to install the GET alias? [n]
Do you want to install the HEAD alias? [n]
Do you want to install the POST alias? [n]

Checking for URI........... ok
Checking for HTML::Parser.. ok
Checking for MIME::Base64.. ok
Checking for Net::FTP...... ok
Checking for Digest::MD5 .. ok

Warning: prerequisite Compress::Zlib 1.10 not found.
Writing Makefile for LWP
GreenOrange libwww-perl-5.805-eFDJMm #
<<<

Again, it says that I am missing Compress::Zlib module but I can verify it's there by this output:
>>>
GreenOrange libwww-perl-5.805-eFDJMm # cpan Compress::Zlib
CPAN: File::HomeDir loaded ok (v0.64)
CPAN: Storable loaded ok (v2.15)
Going to read /root/.cpan/Metadata
Database was generated on Wed, 02 May 2007 23:10:02 GMT
CPAN: YAML loaded ok (v0.62)
Going to read /root/.cpan/build/
............................................................................DONE
Found 4 old builds, restored the state of 4
Compress::Zlib is up to date (2.004).
<<<

danran 05-03-2007 01:02 PM

If it helps, I was just able to install XML::Simple just fine. So why wouldn't LWP install?


All times are GMT -5. The time now is 08:38 PM.