Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Mar 2004 22:28:54 -0800
From:      Drew Tomlinson <drew@mykitchentable.net>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: How To Upgrade to Perl 5.8 on 4.9 System? - SOLVED
Message-ID:  <40627C26.5070605@mykitchentable.net>
In-Reply-To: <4060DB5B.20305@mykitchentable.net>
References:  <4060DB5B.20305@mykitchentable.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Drew Tomlinson told a big fish story including the following on 
03/23/2004 4:50 PM:

> I'm using 4.9-RELEASE.  Is is possible to upgrade Perl from the 
> default 5.005 version to 5.8.2?  I've searched Google but was unable 
> to find anything definitive.  Are there any steps required beyond 
> installing the port?  I saw a response by Kris Kennaway regarding 
> -CURRENT 
> (http://lists.freebsd.org/pipermail/freebsd-current/2004-February/020645.html). 
>  But if one follows the thread there are some conflicting posts so I 
> remain confused.

Thanks to all that replied.  I performed the following steps:

1.  I ran this command as suggested by Mathew Seaman to obtain a list of 
ports to reinstall after the upgrade.
    % find /usr/local/lib/perl5/5.00503 
/usr/local/lib/perl5/site_perl/5.005/ \
            -type f -print0 | xargs -0 -n 1 pkg_which | sort -u

2.  I used portupgrade to install lang/perl5.8

3.  Per the instructions in the port, I ran 'use.perl port'.  This seems 
to append some lines to /etc/make.conf , presumably to tell future ports 
that version 5.8.2 should be used.

Everything seems to be working fine!  Thanks to everyone for their help.

Drew



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