http://qs321.pair.com?node_id=665621


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

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.