Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^3: What Just Happened to my CPAN Shell? (source?)

by eskwayrd (Acolyte)
on Jan 31, 2008 at 17:15 UTC ( #665394=note: print w/replies, xml ) Need Help??


in reply to Re^2: What Just Happened to my CPAN Shell? (source?)
in thread What Just Happened to my CPAN Shell?

I get the same error:
Use of inherited AUTOLOAD for non-method main::version::(""() is depre +cated at /usr/local/share/perl/5.8.8/CPAN.pm line 10254. Catching error: 'Can\'t locate auto/main/version/("".al in @INC (@INC +contains: /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5 +.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/per +l/5.8 /usr/local/lib/site_perl /disk2/apache-2.0.59/conf) at /usr/loc +al/share/perl/5.8.8/CPAN.pm line 10254 ' at /usr/local/share/perl/5.8.8/CPAN.pm line 281 CPAN::shell() called at -e line 1
I just upgraded a bunch of modules on a box being prepared for production use. CPAN.pm is now 1.9205, and ExtUtils::MakeMaker is now 6.42 (both were upgraded, and one or both is contributing to the problem).

Using the CPAN shell, I can list the modules needing upgrading, and then upgrade one module. Any subsequent upgrades or lists of upgrades fail with the above error. If I exit the shell and restart it, I can perform the next upgrade. Installation of modules seems to be okay, until an upgrade takes place, and then installation fails too.

Replies are listed 'Best First'.
Re^4: What Just Happened to my CPAN Shell? (source?)
by Anonymous Monk on Feb 01, 2008 at 18:36 UTC
    I also just upgraded/added a bunch of modules using CPAN (1.9205). I get similar errors, but have been able to fix one of them by installing an older version of Parse::RecDescent:
    cpan[12]> m Parse::RecDescent Catching error: 'Can\'t locate auto/main/version/("".al in @INC (@INC contains: /opt/perl/perl-5.8.8/lib/5.8.8/sun4-solaris /opt/perl/perl-5.8.8/lib/5.8.8 /opt/perl/perl-5.8.8/lib/site_perl/5.8.8/sun4-solaris /opt/perl/perl-5.8.8/lib/site_perl/5.8.8 /opt/perl/perl-5.8.8/lib/site +_perl /opt/perl/perl-5.8.8/lib/5.8.8) at /opt/perl/perl-5.8.8/lib/5.8.8/CPAN +.pm line 10254 ' at /opt/perl/perl-5.8.8/lib/5.8.8/CPAN.pm line 281 CPAN::shell() called at -e line 1
    Now this works.
    cpan[13]> m Parse::RecDescent Module id = Parse::RecDescent DESCRIPTION Recursive descent parser generator CPAN_USERID DCONWAY (Damian Conway <damian@conway.org>) CPAN_VERSION 1.94 CPAN_FILE D/DC/DCONWAY/Parse-RecDescent-1.94.tar.gz UPLOAD_DATE 2003-04-09 DSLIP_STATUS MdpO? (mature,developer,perl,object-oriented,) MANPAGE Parse::RecDescent - Generate Recursive-Descent Parser +s INST_FILE /opt/perl/perl-5.8.8/lib/site_perl/5.8.8/Parse/RecDescent.pm INST_VERSION 1.94
    I was tipped to this when building Module::ExtractUse (0.22):
    Fri Feb 1 11:14:15 MST 2008 /opt/local/src/Module-ExtractUse-0.22 /opt/perl/bin:/opt/cooltools-4.0.4/gcc/bin:/usr/bin:/bin:/usr/sfw/bin: +/usr/ccs/bin:/usr/xpg4/bin /opt/perl/bin/perl # running Build.PL /opt/perl/perl-5.8.8/bin/perl Build.PL - ERROR: Parse::RecDescent (1.95.1) is installed, but we need version + >= 1.94 ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the v +ersions of the modules indicated above before proceeding with this installatio +n
    This hasn't completely fixed the problem, but I'm getting fewer errors.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2022-01-25 17:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (67 votes). Check out past polls.

    Notices?