Results 1 to 1 of 1
I'm trying to install the LWP Perl module on my gentoo server but i'm running into problems...
I've attached the output of 'install LWP' while in the CPAN shell:
I've ...
- 05-03-2007 #1Just Joined!
- Join Date
- May 2007
- Posts
- 1
Perl install LWP module ; problems ...
I'm trying to install the LWP Perl module on my gentoo server but i'm running into problems...
I've attached the output of 'install LWP' while in the CPAN shell:
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.
I noticed there were errors with Scalar::Util but it looks fine:
>>>
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).
<<<
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).
<<<
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 #
<<<
Thanks for any help!


Reply With Quote