From owner-freebsd-current@FreeBSD.ORG Mon Jun 14 19:44:49 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0903616A4CE for ; Mon, 14 Jun 2004 19:44:49 +0000 (GMT) Received: from smtp.owt.com (smtp.owt.com [204.118.6.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id AFA0543D53 for ; Mon, 14 Jun 2004 19:44:47 +0000 (GMT) (envelope-from kstewart@owt.com) Received: from [207.41.94.233] (owt-207-41-94-233.owt.com [207.41.94.233]) by smtp.owt.com (8.12.8/8.12.8) with ESMTP id i5EJi7co018967; Mon, 14 Jun 2004 12:44:08 -0700 From: Kent Stewart To: freebsd-current@freebsd.org Date: Mon, 14 Jun 2004 12:44:10 -0700 User-Agent: KMail/1.6.2 References: <40CDC77A.8090300@fer.hr> <16589.64030.407800.164197@ran.psg.com> In-Reply-To: <16589.64030.407800.164197@ran.psg.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200406141244.10620.kstewart@owt.com> cc: Randy Bush cc: Ivan Voras Subject: Re: Upgrading perl X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jun 2004 19:44:49 -0000 On Monday 14 June 2004 12:18 pm, Randy Bush wrote: > > Is there a way to switch over to 5.8 without breaking everything? > > take two days off, but leave the dog at home to hit the "O" key > when some damed options menu comes up, and follow the instrs in > /usr/ports/UPDATING > > 20040531: > AFFECTS: users of lang/perl5.8 > > lang/perl5.8 has been updated to 5.8.4. you should update > everything depending on perl, that is : > * first, upgrade your perl5.8 installation. > * run "use.perl port", so that the system knows you have 5.8.4. > * now, run some magic incantations to upgrade all ports depending > on perl, that is run something like : > portupgrade -f `(pkg_info -R perl-5.8.4 |tail +4; \ > find /usr/local/lib/perl5/site_perl/5.8.2 -type f -print0 \ > > | xargs -0 pkg_which -fv | sed -e '/: ?/d' -e 's/.*: > | //')|sort -u` > > This is likely to fail for a few ports, you'll have to upgrade > them afterward. > Actually, automake should be in that list. Some of the older versions invoke the perl that was around at the time it was updated. You also need to portupgrade -f automake. Then, the perl that it invokes on the 1st line will be the one you just updated to. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html