Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??
I'm not sure how, but I believe that my perl installation (Mac OS X 10.5.7) is broken. In particular, I cannot get CPAN to work, as I am unable to install even the most basic modules. Is there a way to restore my CPAN installation to the default? To illustrate, this is output I get when I try updating CPAN. The first line is the install command.
cpan[1]> install Bundle::CPAN CPAN: Storable loaded ok (v2.15) Going to read /Users/markwellons/Library/Application Support/.cpan/sou +rces/authors/01mailrc.txt.gz CPAN: File::Which loaded ok (v0.05) Use of uninitialized value in concatenation (.) or string at /Library/ +Perl/Updates/5.8.8/darwin-thread-multi-2level/Scalar/Util.pm line 30. Use of uninitialized value in concatenation (.) or string at /Library/ +Perl/Updates/5.8.8/darwin-thread-multi-2level/Scalar/Util.pm line 30. gzip: /Users/markwellons/Library/Application: not in gzip format gzip: Support/.cpan/sources/authors/01mailrc.txt.gz: No such file or d +irectory DONE Going to read /Users/markwellons/Library/Application Support/.cpan/sou +rces/modules/02packages.details.txt.gz Use of uninitialized value in concatenation (.) or string at /Library/ +Perl/Updates/5.8.8/darwin-thread-multi-2level/Scalar/Util.pm line 30. Use of uninitialized value in concatenation (.) or string at /Library/ +Perl/Updates/5.8.8/darwin-thread-multi-2level/Scalar/Util.pm line 30. gzip: /Users/markwellons/Library/Application: not in gzip format gzip: Support/.cpan/sources/modules/02packages.details.txt.gz: No such + file or directory Warning: Your /Users/markwellons/Library/Application Support/.cpan/sou +rces/modules/02packages.details.txt.gz does not contain a Line-Count +header. Please check the validity of the index file by comparing it to more than one CPAN mirror. I'll continue but problems seem likely to happen. CPAN: Time::HiRes loaded ok (v1.86) Warning: Your /Users/markwellons/Library/Application Support/.cpan/sou +rces/modules/02packages.details.txt.gz does not contain a Last-Update +d header. Please check the validity of the index file by comparing it to more than one CPAN mirror. I'll continue but problems seem likely to happen. DONE CPAN: LWP::UserAgent loaded ok (v5.823) Fetching with LWP: http://cpan.uchicago.edu/pub/CPAN/modules/03modlist.data.gz Use of uninitialized value in concatenation (.) or string at /Library/ +Perl/Updates/5.8.8/darwin-thread-multi-2level/Scalar/Util.pm line 30. CPAN: YAML loaded ok (v0.68) Going to read /Users/markwellons/Library/Application Support/.cpan/sou +rces/modules/03modlist.data.gz Catching error: "Undefined subroutine &Compress::Zlib::gzopen called a +t /Library/Perl/Updates/5.8.8/CPAN/Tarzip.pm line 122.\cJ" at /Librar +y/Perl/Updates/5.8.8/CPAN.pm line 359 CPAN::shell() called at -e line 1 Going to read /Users/markwellons/Library/Application Support/.cpan/sou +rces/authors/01mailrc.txt.gz No history written (no histfile specified). Lockfile removed. Undefined subroutine &Compress::Zlib::gzopen called at /Library/Perl/U +pdates/5.8.8/CPAN/Tarzip.pm line 122.

In reply to Broken perl installation on Mac OS X by NewRun

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!
  • 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, 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, 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.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others romping around the Monastery: (10)
    As of 2015-07-30 11:31 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









      Results (271 votes), past polls