From owner-freebsd-questions@FreeBSD.ORG Wed Mar 24 12:55:48 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F3F4E16A4CE for ; Wed, 24 Mar 2004 12:55:47 -0800 (PST) Received: from mail2.tsgincorporated.com (ns2.tsgincorporated.com [67.66.242.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 82D6043D1D for ; Wed, 24 Mar 2004 12:55:47 -0800 (PST) (envelope-from micheal@tsgincorporated.com) Received: (from root@localhost) by mail2.tsgincorporated.com (8.12.10/8.12.10) id i2OKtdDT002903; Wed, 24 Mar 2004 14:55:39 -0600 (CST) (envelope-from micheal@tsgincorporated.com) Received: from micheal (micheal.tsgincorporated.com [67.66.242.77]) i2OKtbdj002894; Wed, 24 Mar 2004 14:55:38 -0600 (CST) (envelope-from micheal@tsgincorporated.com) Message-ID: <016001c411e2$72d43f10$4df24243@tsgincorporated.com> From: "Micheal Patterson" To: "Drew Tomlinson" , "Joshua Lokken" References: <4060DB5B.20305@mykitchentable.net> <4060E747.2050208@mac.com><37EF4C48-7D92-11D8-8CE1-000A956D2452@chrononomicon.com><20040324161855.GA1816@cs025_2k> <4061D7E0.7010107@mykitchentable.net> Date: Wed, 24 Mar 2004 14:56:12 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Virus-Scanned: by AMaViS 0.3.12 cc: FreeBSD Questions cc: Bart Silverstrim Subject: Re: How To Upgrade to Perl 5.8 on 4.9 System? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Mar 2004 20:55:48 -0000 ----- Original Message ----- From: "Drew Tomlinson" To: "Joshua Lokken" Cc: "FreeBSD Questions" ; "Bart Silverstrim" 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 [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.