From owner-freebsd-questions@FreeBSD.ORG Thu Feb 23 16:49:14 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 55E021065673 for ; Thu, 23 Feb 2012 16:49:14 +0000 (UTC) (envelope-from ipluta@wp.pl) Received: from mx4.wp.pl (mx4.wp.pl [212.77.101.8]) by mx1.freebsd.org (Postfix) with ESMTP id 9D12B8FC15 for ; Thu, 23 Feb 2012 16:49:13 +0000 (UTC) Received: (wp-smtpd smtp.wp.pl 6670 invoked from network); 23 Feb 2012 17:22:32 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wp.pl; s=1024a; t=1330014152; bh=FVVy/mHDdLdgrD6s0WEbsDJX76AiI7JdKDSP6VKSuuk=; h=From:To:CC:Subject; b=SI/FFXR6vKdMo+fvpoaVUZAS7OV/ijzYZFm4bCzqbu9Hsgu53VIGNkCPr55k88Q29 taUfeSltWEFcGqAhsuoI62is/RLqLsgYy7qEy3VpWx6qYwRcWOcdIcwa8nAkOflDU9 /DyIKGIiOgDP6RNcDHU7F0Qa+PAXOZf7elTnfFx0= Received: from dmz40.neoplus.adsl.tpnet.pl (HELO [10.0.0.65]) (ipluta@[83.24.81.40]) (envelope-sender ) by smtp.wp.pl (WP-SMTPD) with AES256-SHA encrypted SMTP for ; 23 Feb 2012 17:22:32 +0100 Message-ID: <4F4667BF.9030507@wp.pl> Date: Thu, 23 Feb 2012 17:22:23 +0100 From: Ireneusz Pluta User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: Jaime Kikpole References: <4F451A7F.6070200@infracaninophile.co.uk> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-WP-AV: skaner antywirusowy poczty Wirtualnej Polski S. A. X-WP-SPAM: NO 0000000 [kcNE] Cc: "freebsd-questions@freebsd.org" Subject: Re: CPAN hanging on ExtUtils::MakeMaker even if installed X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Feb 2012 16:49:14 -0000 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?