Hi People! Had a question for you -- I've been trying to install the latest LWP:UserAgent module through CPAN and am having some problems (I current run Perl V5.8.0 with CPAN on a Win XP box) ...... through CPAN when I type in "install LWP:UserAgent" or "install LWP" I get the following error:

Subroutine _new_response redefined at D:/Perl/site/lib/LWP\UserAgent.p +m line 112 7. CPAN: LWP::UserAgent loaded ok Fetching with LWP: ftp://archive.progeny.com/CPAN/authors/id/A/AN/ANDK +/CPAN-1.63.tar.gz Fetching with LWP: ftp://archive.progeny.com/CPAN/authors/id/A/AN/ANDK/CHECKSUMS Checksum for y\sources\authors\id\A\AN\ANDK\CPAN-1.63.tar.gz ok Cannot gzopen y\sources\authors\id\A\AN\ANDK\CPAN-1.63.tar.gz: No such + file or directory

Basically, I get the "No such file or directory" error in all the different CPAN module installations.
The Config.pm file in my D:\Perl\lib\CPAN looks like this -

# This is CPAN.pm's systemwide configuration file. This file provides # defaults for users, and the values can be changed in a per-user # configuration file. The user-config file is being looked for as # ~/.cpan/CPAN/MyConfig.pm. $CPAN::Config = { 'build_cache' => q[10], 'build_dir' => q[\.cpan\build\.], 'cache_metadata' => q[1], 'cpan_home' => q[\.cpan\.], 'ftp' => q[C:\WINXP\system32\ftp.EXE], 'ftp_proxy' => q[], 'getcwd' => q[cwd], 'gzip' => q[D:\Zips\gzip\gzip.EXE], 'http_proxy' => q[], 'inactivity_timeout' => q[0], 'index_expire' => q[1], 'inhibit_startup_message' => q[0], 'keep_source_where' => q[\.cpan\sources\.], 'lynx' => q[], 'make' => q[], 'make_arg' => q[], 'make_install_arg' => q[], 'makepl_arg' => q[], 'ncftp' => q[], 'ncftpget' => q[], 'no_proxy' => q[], 'pager' => q[C:\WINXP\system32\more.COM], 'prerequisites_policy' => q[ask], 'scan_cache' => q[atstart], 'shell' => q[], 'tar' => q[], 'term_is_latin' => q[1], 'unzip' => q[D:\Zips\unzip\unzip.EXE], 'urllist' => [], 'wait_list' => [q[wait://ls6.informatik.uni-dortmund.de:1404]], 'wget' => q[], }; 1; __END__

Please let me know if some setting is screwed up or something. Thanks, Surya

In reply to CPAN LWP module installation problems by sprakash

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.