Upgrading perl

Kent Stewart kstewart at owt.com
Mon Jun 14 19:44:49 GMT 2004

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 Stewart
Richland, WA


More information about the freebsd-current mailing list