How To Upgrade to Perl 5.8 on 4.9 System? - SOLVED
Drew Tomlinson
drew at mykitchentable.net
Wed Mar 24 22:28:58 PST 2004
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
More information about the freebsd-questions
mailing list