----- Original Message ----- 
From: "Drew Tomlinson" <[EMAIL PROTECTED]>
To: "Joshua Lokken" <[EMAIL PROTECTED]>
Cc: "FreeBSD Questions" <[EMAIL PROTECTED]>; "Bart Silverstrim"
<[EMAIL PROTECTED]>
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 <[EMAIL PROTECTED]> [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.

_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to