How can I control the Perl version I want?

2012-01-05 Thread Rodolfo Aramayo
On a brand new system (10.6.8) I performed a fresh installation of MacPorts I then installed the port: perl5.14 @5.14.1_2 I then requested other ports to be installed and some of them obviously had Perl dependencies and installed other versions of Perl After this was all and done I have the

Re: How can I control the Perl version I want?

2012-01-05 Thread Mark Anderson
Install perl5 +perl_514 instead of perl5 +perl5_12 I think that should work. Mark On Thu, Jan 5, 2012 at 1:24 PM, Rodolfo Aramayo raram...@gmail.com wrote: perl5 @5.12.3_1+perl5_12 ___ macports-users mailing list macports-users@lists.macosforge.org

Re: How can I control the Perl version I want?

2012-01-05 Thread Ryan Schmidt
On Jan 5, 2012, at 12:26, Mark Anderson wrote: Install perl5 +perl_514 instead of perl5 +perl5_12 I think that should work. Yes, that will make perl be perl 5.14 instead of 5.12. However, there is no way to control what version of perl is used by various other ports, unless those ports

Re: How can I control the Perl version I want?

2012-01-05 Thread Rodolfo Aramayo
Thanks but the problem is that the port: perl5 @5.12.3_1+perl5_12 (active) was installed by another port not by me...I requested: perl5.14 @5.14.1_2 So I did what you guys suggested and issued the command: port install perl5 perl5.14 @5.14.1_2+threads but the perl --version port still is:

Re: How can I control the Perl version I want?

2012-01-05 Thread Ryan Schmidt
On Jan 5, 2012, at 12:52, Rodolfo Aramayo wrote: Thanks but the problem is that the port: perl5 @5.12.3_1+perl5_12 (active) was installed by another port not by me...I requested: perl5.14 @5.14.1_2 No problem. Multiple perls can happily coexist. So I did what you guys suggested and

Re: How can I control the Perl version I want?

2012-01-05 Thread Jeremy Lavergne
So I did what you guys suggested and issued the command: port install perl5 perl5.14 @5.14.1_2+threads You're after `perl5 +perl_514` not `perl (+perl_512) and perl5.14, right? ___ macports-users mailing list macports-users@lists.macosforge.org

Re: How can I control the Perl version I want?

2012-01-05 Thread Ryan Schmidt
On Jan 5, 2012, at 12:52, Rodolfo Aramayo wrote: So I did what you guys suggested and issued the command: port install perl5 perl5.14 @5.14.1_2+threads but the perl --version port still is: This is perl 5, version 12, subversion 3 (v5.12.3) built for darwin-multi-2level Ah sorry, I

Re: How can I control the Perl version I want?

2012-01-05 Thread Brandon Allbery
On Thu, Jan 5, 2012 at 13:52, Rodolfo Aramayo raram...@gmail.com wrote: So I did what you guys suggested and issued the command: port install perl5 perl5.14 @5.14.1_2+threads port install perl5 +perl5.14 The + there is not optional; it tells the perl5 port to install the variant (see port

Re: How can I control the Perl version I want?

2012-01-05 Thread Arno Hautala
Wouldn't perl need to be installed as perl5 +perl5_14 not perl5 @5.14.1_2? The default is activated by the variant given to the perl5 pseudo port. I think you'd only be able to run perl5 @ if the specified version had already been built, but was inactive. On 2012-01-05, Ryan Schmidt

Re: How can I control the Perl version I want?

2012-01-05 Thread Frank Schima
On Jan 5, 2012, at 12:07 PM, Arno Hautala wrote: Wouldn't perl need to be installed as perl5 +perl5_14 not perl5 @5.14.1_2? Correct. You cannot use @version for a port install - it will simply be ignored. Cheers! Frank ___ macports-users mailing

Re: How can I control the Perl version I want?

2012-01-05 Thread Rodolfo Aramayo
Thanks to All of you... So issuing the command: sudo port install perl5 +perl5_14 solved the issue However I did uninstall all Perl versions first (--following-dependents) and start reinstalling Perl5 +perl5_14 and then install the other ports (just to make me feel better and to punish myself

Re: How can I control the Perl version I want?

2012-01-05 Thread Jeremy Lavergne
The big take aways here are: * the perl5 port currently controls the perl symlink * to specify a specific 5.xversionn the variants must be used * variants are specified by + -- Sent from my Android phone with K-9 Mail. Please excuse my brevity. Rodolfo Aramayo raram...@gmail.com wrote: