Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Feb 2009 21:12:44 +0100
From:      Uwe Laverenz <uwe@laverenz.de>
To:        freebsd-ports@freebsd.org
Subject:   Re: upgrading perl blues
Message-ID:  <4991DFBC.3080109@laverenz.de>
In-Reply-To: <4991D4A3.2010307@isafeelin.org>
References:  <4991D4A3.2010307@isafeelin.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Frederique Rijsdijk schrieb:

> Now tons of things are broken (looking for stuff in */site_perl/5.8.8/* 
> but that's now */site_perl/5.8.9/*) and I have to recompile those that 
> failed earlier:
> 
> cd /var/db/pkg ; grep -r 'site_perl/5\.8\.8' * | awk -F\/ '{print $1}' | 
> sort | grep -v pkgdb | xargs portupgrade -fbp
> 
> And after a couple of these cycles everything is OK again..
> 
> Am I doing something wrong or .. what?

Did you read /usr/ports/UPDATING?

   20090113:
     AFFECTS: users of lang/perl5.8
     AUTHOR: skv@FreeBSD.org

     lang/perl5.8 has been updated to 5.8.9. You should update everything
     depending on perl. The easiest way to do that is to use
     perl-after-upgrade script supplied with lang/perl5.8. Please see
     its manual page for details.


So the recommended way to upgrade perl (that worked for me) was:

- upgrade perl
- run "perl-after-upgrade" and see if any problems show up
- run "perl-after-upgrade -f" to move all site-packages to the new perl

bye,
Uwe




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4991DFBC.3080109>