perl5, perl5.* changes

Mark Hattam mark at dxradio.demon.co.uk
Sat Feb 26 07:14:52 PST 2011


On 25 Feb 2011, at 17:28, Eric Hall wrote:

> FYI-
> 	I've just commited changes to the perl5*
> ports (perl5, perl5.8, perl5.10, perl5.12) to:
> 
> 	* Make perl5.* install their bin/ and man/
> components with the perl version number in the filename.
> 
> 	* Make the perl5 port link the bin/ and man/
> components from the 'active' perl5.* version (variant
> in perl5) to the plain bin/ and main/ names.
> 
> 	* Make the perl5 port default to perl5.12.
> We're now using the latest production perl version
> (perl5.12.3).  If you need an older version, you can
> install 'perl5 +perl5_8' or 'perl5 +perl5_10' to
> have the older version be the 'active' perl version.
> Note that if a port needs a particular perl5 version
> installed, it can depend on that perl5.* port 
> directly (though it may need to use perl5.8 or perl5.10
> in place of 'perl' to get to it).
> 
> 
> 	If you have perl modules that have compiled
> bits in them they will need to be rebuilt when you 
> upgrade between perl versions (perl5.8 to perl5.12 for
> example).  The same goes if you change perl5.8 variants
> like +threads.
> 
> 
> 
> 
> 		-eric



What am I supposed to do ??

The following installed ports are outdated:
perl5                          5.8.9_0 < 5.12.3_0        
perl5.8                        5.8.9_3 < 5.8.9_4         
All Done
iMac:~ mark$ sudo port upgrade perl5
--->  Fetching perl5.12
--->  Attempting to fetch perl-5.12.3.tar.bz2 from http://lil.fr.distfiles.macports.org/perl5.12
--->  Verifying checksum(s) for perl5.12
--->  Extracting perl5.12
--->  Applying patches to perl5.12
--->  Configuring perl5.12
--->  Building perl5.12
--->  Staging perl5.12 into destroot
--->  Installing perl5.12 @5.12.3_0
--->  Activating perl5.12 @5.12.3_0
--->  Cleaning perl5.12
--->  Computing dependencies for perl5
--->  Fetching perl5
--->  Verifying checksum(s) for perl5
--->  Extracting perl5
--->  Configuring perl5
--->  Building perl5
--->  Staging perl5 into destroot
--->  Computing dependencies for perl5
--->  Installing perl5 @5.12.3_0+perl5_12
--->  Deactivating perl5 @5.8.9_0
--->  Activating perl5 @5.12.3_0+perl5_12
Error: Target org.macports.activate returned: Image error: /opt/local/bin/a2p is being used by the active perl5.8 port.  Please deactivate this port first, or use 'port -f activate perl5' to force the activation.
Log for perl5 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_perl5/main.log

 
Mark


More information about the macports-users mailing list