Re: How To Upgrade to Perl 5.8 on 4.9 System? - SOLVED
Drew Tomlinson wrote: Everything seems to be working fine! Thanks to everyone for their help. Glad you got things working. My original suggestion would have been more thorough if I acknowledged that you may have to rebuild a buncha perl-dependent ports. :-) Joe random perl script ought not to care whether it's using the system base perl or a newer one from ports; Perl ports which depend on a specific version of Perl to work ought to register a dependency upon that version of perl. -- -Chuck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How To Upgrade to Perl 5.8 on 4.9 System? - SOLVED
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 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How To Upgrade to Perl 5.8 on 4.9 System?
- 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]"
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 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How To Upgrade to Perl 5.8 on 4.9 System?
On Wed, Mar 24, 2004 at 08:18:55AM -0800, 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 It would be nice if that was the case, but unfortunately it won't work. If you change the perl version, you usually need to reinstall any extra perl modules -- that is, anything that installs files under /usr/local/lib/perl5/{,site_perl/}5.X.Y/ Unfortunately most perl modules in the ports tree don't register a dependency on perl itself. eg: % pkg_info -r p5-Time-HiRes\* Information for p5-Time-HiRes-1.55,1: Depends on: Without that dependency in there, portupgrade(1) can't know that it needs to update those ports. The most effective way I've found to generate a list of ports that should be upgraded say when upgrading from perl-5.005.03 would be: % 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 Run this command before you update perl, saving the results. Edit the list to delete the lines for the old perl port, and any perl modules that are now bundled with core perl port. Then after you've installed the new perl, run 'portupgrade -f' against that list of ports: # portupgrade -f `cat list-of-ports` Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
Re: How To Upgrade to Perl 5.8 on 4.9 System?
* 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 -- Joshua Oblivion together does not frighten me, beloved. -- Thalassa (in Anne Mulhall's body), "Return to Tomorrow", stardate 4770.3. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How To Upgrade to Perl 5.8 on 4.9 System?
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). Otherwise I saw failures when I restarted Perl applications... Dunno if a reboot would have fixed it, but I noticed that when I did a make deinstall, make clean, then make install of the ports that acted up, part of the messages mentioned the newer version of PERL :-) Just a note in case you run into the problems I did...maybe I did something wrong in the process, but this worked amid the rising feeling of panic :-) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How To Upgrade to Perl 5.8 on 4.9 System?
On Wed, 2004-03-24 at 03:41, 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 Be warned. After you have upgraded perl you will be required to re-install any programs/modules that depend on it eg. Apache You will receive a location error pointing to your previous perl version if you don't. Regards, -- Nelis Lamprecht PGP: http://www.8ball.co.za/pgpkey/nelis.asc "Unix IS user friendly.. It's just selective about who its friends are." signature.asc Description: This is a digitally signed message part
Re: How To Upgrade to Perl 5.8 on 4.9 System?
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 -- -Chuck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
How To Upgrade to Perl 5.8 on 4.9 System?
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. I'm willing to read and would appreciate any links or advice. Thanks, Drew ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"