atom feed15 messages in org.freebsd.freebsd-questionsRe: CPAN hanging on ExtUtils::MakeMak...
FromSent OnAttachments
Jaime KikpoleFeb 21, 2012 4:33 pm 
Matthew SeamanFeb 22, 2012 1:26 am 
Jaime KikpoleFeb 22, 2012 4:48 am 
Matthew SeamanFeb 22, 2012 6:07 am 
Alejandro ImassFeb 22, 2012 7:53 am 
Alejandro ImassFeb 22, 2012 8:35 am 
Matthew SeamanFeb 22, 2012 8:35 am 
Matthew SeamanFeb 22, 2012 8:40 am 
Alejandro ImassFeb 22, 2012 8:40 am 
Alejandro ImassFeb 22, 2012 8:55 am 
Jaime KikpoleFeb 22, 2012 10:48 am 
Chuck SwigerFeb 22, 2012 11:34 am 
Matthew SeamanFeb 22, 2012 12:24 pm 
Ireneusz PlutaFeb 23, 2012 8:22 am 
Jaime KikpoleFeb 24, 2012 10:30 am 
Subject:Re: CPAN hanging on ExtUtils::MakeMaker even if installed
From:Ireneusz Pluta (ipl@wp.pl)
Date:Feb 23, 2012 8:22:00 am
List:org.freebsd.freebsd-questions

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?