Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jun 2004 12:44:10 -0700
From:      Kent Stewart <kstewart@owt.com>
To:        freebsd-current@freebsd.org
Cc:        Ivan Voras <ivoras@fer.hr>
Subject:   Re: Upgrading perl
Message-ID:  <200406141244.10620.kstewart@owt.com>
In-Reply-To: <16589.64030.407800.164197@ran.psg.com>
References:  <40CDC77A.8090300@fer.hr> <16589.64030.407800.164197@ran.psg.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200406141244.10620.kstewart>