Updating Perl..

Matthew Seaman m.seaman at infracaninophile.co.uk
Sun Apr 5 01:23:58 PDT 2009


Leslie Jensen wrote:
> Hello list.
> 
> When one updates perl, one should rebuild all ports dependend on perl 
> according to the UPDATING file.
> 
> I'm just wondering, isn't the script "perl-after-upgrade" supposed to do 
> the work needed, so that one can save the time of upgrading the ports?

It depends on the upgrade.  For 5.8.8 -> 5.8.9 then perl-after-upgrade
works fine: this is because there is binary compatibility so that .so
modules compiled for 5.8.8 will load just fine into 5.8.9. The work of
perl-after-upgrade is simply to move files from
/usr/local/lib/perl/site_perl/5.8.8 to .../5.8.9

For the upgrade from 5.8.[89] to 5.10.0, there is no binary compatibility
so all perl modules that install loadable binaries will have to be
recompiled.  Rather than trying to produce a long list of what modules
are pure perl and what aren't the advice is simply to reinstall everything.

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
                                                  Kent, CT11 9PW

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 259 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090405/d1a0d448/signature.pgp


More information about the freebsd-questions mailing list