Date: Wed, 24 Mar 2004 14:56:12 -0600 From: "Micheal Patterson" <micheal@tsgincorporated.com> To: "Drew Tomlinson" <drew@mykitchentable.net>, "Joshua Lokken" <joshua@twobirds.us> Cc: Bart Silverstrim <bsilver@chrononomicon.com> Subject: Re: How To Upgrade to Perl 5.8 on 4.9 System? Message-ID: <016001c411e2$72d43f10$4df24243@tsgincorporated.com> References: <4060DB5B.20305@mykitchentable.net> <4060E747.2050208@mac.com><37EF4C48-7D92-11D8-8CE1-000A956D2452@chrononomicon.com><20040324161855.GA1816@cs025_2k> <4061D7E0.7010107@mykitchentable.net>
next in thread | previous in thread | raw e-mail | index | archive | help
----- Original Message ----- From: "Drew Tomlinson" <drew@mykitchentable.net> To: "Joshua Lokken" <joshua@twobirds.us> Cc: "FreeBSD Questions" <freebsd-questions@freebsd.org>; "Bart Silverstrim" <bsilver@chrononomicon.com> Sent: Wednesday, March 24, 2004 12:48 PM Subject: Re: How To Upgrade to Perl 5.8 on 4.9 System? > On 3/24/2004 8:18 AM Joshua Lokken wrote: > > >* Bart Silverstrim <bsilver@chrononomicon.com> [2004-03-24 07:35]: > > > > > >>On Mar 23, 2004, at 8:41 PM, Chuck Swiger wrote: > >> > >> > >> > >>>Drew Tomlinson wrote: > >>> > >>> > >>>>I'm using 4.9-RELEASE. Is is possible to upgrade Perl from the > >>>>default 5.005 version to 5.8.2? > >>>> > >>>> > >>>Yes. > >>> > >>> > >>> > >>>>Are there any steps required beyond installing the port? > >>>> > >>>> > >>>Try: > >>> > >>>cd /usr/ports/lang/perl5.8 > >>>make install > >>>use.perl port > >>> > >>> > >>> > >>I also had to re-install some of my ports after installing the new Perl > >>and switching the system perl to the newer version (4.9-release-p3). > >> > >> > > > > > >If you install sysutils/portupgrade, you can do (after > >installing the new Perl) > > > ># portupgrade -rf perl > > > > > I tried this (adding the 'n') to see what portupgrade would find. All > it found was 'perl5.8', yet I have webmin, spamassassin, and various > other things that use perl (AFAIK). I changed the line to: > > portupgrade -rRf 'p5*' > > and if found lots of things. It might be overkill but it should get > everything that needs rebuilding, correct? > > Thanks for your help. > > Drew > Drew, install perl 5.8 from ports. Once completed, you'll have both versions on your system in their respective directories. You can switch which one is used as the system default by using the script "use.perl" located by default in /usr/local/bin that is installed with the 5.8 port. Syntax is: Usage: ./use.perl port -> /usr/bin/perl is the perl5 port ./use.perl system -> /usr/bin/perl is the system perl This will allow you to switch from the system version (5.005_03), to the port (v5.8.x) and vice versa. -- Micheal Patterson TSG Network Administration 405-917-0600 Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?016001c411e2$72d43f10$4df24243>