in reply to Re: Help with CPAN module
in thread Help with CPAN module

So do you know how to fix it? Thanks.

Replies are listed 'Best First'.
Re^3: Help with CPAN module
by GertMT (Hermit) on May 02, 2009 at 18:46 UTC
    there has been some issues after a recent security update in Leopard, please refer to:

    http://www.google.com/search?client=safari&rls=en-us&q=security+update+leopard+perl&ie=UTF-8&oe=UTF-8

    maybe this mentioned thread will help you further:

    http://discussions.apple.com/message.jspa?messageID=8992556

    Gert

    UPDATE

    What I did to get CPAN working again was the following and I didn't have any problems afterwards although not every module can be installed via CPAN and the README often gives the alternative that'll work if required modules are installed. (I'm not an expert on this and unfortunately lost the source of why I took this action and have no idea whether it could do any harm to your system, again, for me it was fine)

    mkdir -p /fixforperl cd !$ curl -O http://search.cpan.org/CPAN/authors/id/G/GB/GBARR/IO-1.2301.ta +r.gz curl -O http://search.cpan.org/CPAN/authors/id/P/PM/PMQS/DB_File-1.819 +.tar.gz curl -O http://search.cpan.org/CPAN/authors/id/A/AM/AMS/Storable-2.18. +tar.gz tar xzf IO-1.2301.tar.gz tar xzf DB_File-1.819.tar.gz tar xzf Storable-2.18.tar.gz cd IO-1.2301 && perl Makefile.PL && make && sudo make install && cd .. cd DB_File-1.819 && perl Makefile.PL && make && sudo make install && c +d .. cd Storable-2.18 && perl Makefile.PL && make && sudo make install && c +d ..
      I think all you're doing there is reinstalling the modules IO, DB_File and Storable. I did this, but updating the CPAN install Module still seems to fail - can one reinstall it manually? So far I've been using the following method:
      sudo cpan (wait for cpan prompt) install CPAN
Re^3: Help with CPAN module
by Anonymous Monk on May 02, 2009 at 17:59 UTC
    Not sure what you mean, I would just ignore it.
      Well at the moment it seems I can't install any modules - I was trying to install XML::Atom and it kept failing, so then I tried to reinstall the CPAN installer, and that error came up... so is there maybe another way to reinstall the CPAN installer, or fix it etc