Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: Install LWP from CPAN on Ubuntu Heron 8.04

by SouthFulcrum (Sexton)
on Aug 21, 2008 at 16:31 UTC ( [id://705853]=note: print w/replies, xml ) Need Help??


in reply to Re: Install LWP from CPAN on Ubuntu Heron 8.04
in thread Install LWP from CPAN on Ubuntu Heron 8.04

I seem to remember having this problem. moritz is right to point you to the package. I think it's generally a good idea to stick with the Ubuntu packages whenever the needed module (and needed version of the module) is packaged. http://packages.ubuntu.com/search?suite=hardy&keywords=hardy

Not sure if this is related to the reason you're asking, butI did have a problem installing modules via CPAN on Ubuntu 8.04. It would always fail when trying to fetch with LWP. It would take forever to install anything via CPAN. However, I finally realized I didn't have NcFTP installed.

sudo apt-get install ncftp

After that, it was just a matter of setting the paths for ncftp and ncftpget in config file.

cpan > o conf ncftp /usr/bin/ncftp cpan > o conf ncftpget /usr/bin/ncftpget

Still don't know why LWP was failing, but I've moved and life has been more pleasurable since.

Replies are listed 'Best First'.
Re^3: Install LWP from CPAN on Ubuntu Heron 8.04
by mpettis (Beadle) on Aug 21, 2008 at 16:54 UTC
    Thanks for this ubuntu link -- Still trying to install WWW::Mechanize. Searched the packages, didn't see it. I added ncftp like you said and tried CPAN again, but got the following error... Any idea what this means? Thanks, Matt
    cpan> install WWW::Mechanize
    CPAN: Storable loaded ok
    Going to read /home/matt/.cpan/Metadata
      Database was generated on Wed, 20 Aug 2008 20:03:24 GMT
    Running install for module WWW::Mechanize
    Running make for P/PE/PETDANCE/WWW-Mechanize-1.34.tar.gz
    CPAN: Digest::MD5 loaded ok
    CPAN: Compress::Zlib loaded ok
    Can't call method "value" on an undefined value at /usr/share/perl5/IO/Uncompress/RawInflate.pm line 64.
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://705853]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (5)
As of 2024-04-18 19:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found