[OpenIndiana-discuss] [HEADS UP] perl 5.16 update instructions

Alexander Pyhalov alp at rsu.ru
Sat Jul 20 15:38:21 UTC 2013


Hello, all.

I've just hacked perl510 and perl510/extra packages to make perl510 
build modules with gcc. Note, it's just repacked perl510 built by 
Studio, but it builds modules with gcc. Also I modified oi-userland to 
build both perl510 and perl516 32-bit modules and updated the following 
modules;

library/perl-5/database
library/perl-5/database-5100
library/perl-5/database-516
library/perl-5/net-ssleay
library/perl-5/net-ssleay-5100
library/perl-5/net-ssleay-516
library/perl-5/pmtools
library/perl-5/pmtools-5100
library/perl-5/pmtools-516
library/perl-5/xml-parser
library/perl-5/xml-parser-5100
library/perl-5/xml-parser-516
library/perl-5/xml-simple
library/perl-5/xml-simple-5100
library/perl-5/xml-simple-516

Here 5100 stands for 5.10.0.

!!!Update instructions!!! //Important if you had some of old perl 
modules installed!!!

1) To install new perl-516 firstly update perl-510. Old perl-510 ships 
hardlinks. It was updated to install mediated links. Note, it is just 
old repackaged perl 5.10.0 from /dev compiled with Sun Studio, only 
manifest and to files (Config.pm and Config_heavy.pl) were patched to 
deliver mediated links and to use gcc while building modules.

2) If you just update old library/perl-5/database and other modules 
you'll receive new packages, which are just meta-packages, new packages 
will likely pull library/perl-5/*-516 packages and you'll stay without 
old modules, so remember to install corresponding library/perl-5/*-5100 
packages after update (if someone is interested 5100 stands for perl 
5.10.0).

3) I've tested that legacy library/perl-5/postgres-dbi module works with 
library/perl-5/database-5100, but as always, something can be broken, so 
please, make bug reports :)

4) Note, not all currently available perl5.10 modules are packaged for 
perl5.16. Missing modules include:
- module/sun-solaris
- postgres-dbi
- authen-pam
- subversion

---
System Administrator of Southern Federal University Computer Center




More information about the OpenIndiana-discuss mailing list