CPAN hanging on ExtUtils::MakeMaker even if installed

Ireneusz Pluta ipluta at wp.pl
Thu Feb 23 16:49:14 UTC 2012


W dniu 2012-02-22 19:48, Jaime Kikpole pisze:
> Is there some way to just "yank" the installed port and revert to the default installed version?

The perl itself even from ports is OK, the BSDPAN part is the problem.

If you only want a (temporary) solution for the subject problem, you may
( possibly s/5.8.8/5.8.9/ for your case ):

mv /usr/local/lib/perl5/5.8.8/BSDPAN /usr/local/lib/perl5/5.8.8/BSDPAN.bad

so perl falls with its @INC to the original ExtUtils::, because:

$ perl -e 'print join "\n", @INC'
/usr/local/lib/perl5/5.8.8/BSDPAN
/usr/local/lib/perl5/site_perl/5.8.8/mach
/usr/local/lib/perl5/site_perl/5.8.8
/usr/local/lib/perl5/site_perl
/usr/local/lib/perl5/5.8.8/mach
/usr/local/lib/perl5/5.8.8

and

$ find /usr/local/lib/perl5 | grep ExtUtils/MakeMaker.pm
/usr/local/lib/perl5/5.8.8/BSDPAN/ExtUtils/MakeMaker.pm
/usr/local/lib/perl5/5.8.8/ExtUtils/MakeMaker.pm

But then you loose what /usr/local/lib/perl5/5.8.8/BSDPAN/BSDPAN.pm says:

DESCRIPTION
        BSDPAN is the collection of modules that provides tighter than ever
        integration of Perl into BSD Unix.

        Currently, BSDPAN does the following:

        o makes p5− FreeBSD ports PREFIX‐clean;
        o registers Perl modules with FreeBSD package database.

        BSDPAN achieves this by overriding certain functionality of the core
        Perl modules, ExtUtils::MM_Unix, and ExtUtils::Packlist.

        BSDPAN module itself just provides useful helper functions for the rest
        of the modules in BSDPAN collection.

You soon should be upgrading to 5.14.x (mee to :-), so do you care?


More information about the freebsd-questions mailing list