[Chicago-talk] Help CPAN on FreeBSD Perl 5.8.8
frag at ripco.com
Fri Apr 20 12:57:45 PDT 2007
On Fri, 20 Apr 2007, Ed Pigg wrote:
> Now CPAN (1.90) is throwing errors and I'm having a hard time trying
> to figure out how to remedy them.
> Here's a typical error message from an install command
> cpan> install CPAN
> Running install for module 'CPAN'
> Running make for A/AN/ANDK/CPAN-1.91.tar.gz
> CPAN: Digest::SHA loaded ok (v5.44)
> Catching error: 'Can't locate object method "prefs_lookup" via
> package "CPAN::HandleConfig" at /usr/local/lib/perl5/5.8.8/CPAN.pm
> line 6564.
> ' at /usr/local/lib/perl5/5.8.8/CPAN.pm line 274
> CPAN::shell() called at -e line 1
> I've looked at CPAN::HandleConfig and there is no "prefs_lookup" sub
> in the module.
In CPAN 1.90, there should be one. See:
It's the last sub in the file.
> I thought that I'd reinstall CPAN from the ports
> collection, but it doesn't appear to be there. Just CPANPLUS. Should
> I fetch CPAN from CPAN and install manually? Is this a change from
> 5.8.7 to 5.8.8?
I don't see why installing manually would be a problem, unless you've
got special values for makepl_arg etc. in your CPAN
I'd check to confirm that your current version of CPAN is installed
correctly and completely. Ditto for your new version of Perl.
-- Mike F.
More information about the Chicago-talk