From owner-freebsd-stable@FreeBSD.ORG Mon May 19 09:53:10 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 960AD37B401 for ; Mon, 19 May 2003 09:53:10 -0700 (PDT) Received: from heechee.tobez.org (port485.ds1-ry.adsl.cybercity.dk [212.242.233.110]) by mx1.FreeBSD.org (Postfix) with ESMTP id 54F1C43FA3 for ; Mon, 19 May 2003 09:53:09 -0700 (PDT) (envelope-from tobez@tobez.org) Received: by heechee.tobez.org (Postfix, from userid 1001) id A08C0175D0; Mon, 19 May 2003 18:53:05 +0200 (CEST) Date: Mon, 19 May 2003 18:53:05 +0200 From: Anton Berezin To: "randall s. ehren" Message-ID: <20030519165305.GA86282@heechee.tobez.org> Mail-Followup-To: Anton Berezin , "randall s. ehren" , Forrest Aldrich , freebsd-stable@freebsd.org References: <5.2.1.1.2.20030519011055.0201b698@192.168.1.1> <20030519103154.GA80665@heechee.tobez.org> <013801c31e1b$ee0c4e40$0b936f80@net.isber.ucsb.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <013801c31e1b$ee0c4e40$0b936f80@net.isber.ucsb.edu> User-Agent: Mutt/1.5.1i cc: Forrest Aldrich cc: freebsd-stable@freebsd.org Subject: Re: New system build overwrites perl modules? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 May 2003 16:53:10 -0000 On Mon, May 19, 2003 at 08:33:00AM -0700, randall s. ehren wrote: > > On Mon, May 19, 2003 at 01:12:16AM -0400, Forrest Aldrich wrote: > > > I've had a problem with 4.8-STABLE whereby a new system build/install > > > appears to nudge out the module File::Spec (perhaps others), which I > > > usually have to reinstall every time. I'm curious about what's > > > happening here, why, etc. > > > > Do you install File::Spec from ports? > > Do you use lang/perl5 port? > > same thing happened to me, i installed File::Spec from CPAN, which hasn't > been a problem in previous upgrades. Well. If you were to use perl port and install File::Spec from CPAN, you'd be safe. If you were to use base system perl and install File::Spec from the ports (devel/p5-File-Spec), you'd be safe. Needless to say, you'd be safe to use both perl port and File::Spec from the ports. As it is now, base system perl does not provide the protection from the modules which insist on setting INSTALLDIRS => 'perl' in their Makefile.PL. If you use the port, this protection is provided by the ports maintainer. If you use perl from ports, this protection is provided by BSDPAN, which is not present in the base system perl. Apart from the two workarounds I mentioned, the third one is to set NOPERL=yes in your /etc/make.conf, so that buildworld/installworld process will not overwrite existing perl installation. Cheers, \Anton. -- You shouldn't be intimidated by this issue at all, since Perl is your friend. -- Apache mod_perl guide