How can I control the Perl version I want?

Arno Hautala arno at alum.wpi.edu
Thu Jan 5 11:07:39 PST 2012


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 <ryandesign at macports.org> wrote:
>
> 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 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"
>
> That should not be. /opt/local/bin/perl should now be a simlink to perl5.14.
> What does "ls -l /opt/local/bin/perl" and "port installed perl5" show? What
> does "which perl" show?
>
>
>> Should I uninstall ALL perls before issuing the command:
>>
>> port install perl5 perl5.14 @5.14.1_2+threads??
>
> No.
>
>
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
>


-- 
arno  s  hautala    /-|   arno at alum.wpi.edu

pgp b2c9d448


More information about the macports-users mailing list