changing default perl
Ryan Schmidt
ryandesign at macports.org
Sun Nov 3 12:25:36 PST 2013
On Nov 3, 2013, at 12:04, Mr. Puneet Kishor wrote:
> This is quite confusing
>
> 09:45:13 [lucknow.att.net] ~$ which perl
> /opt/local/bin/perl
> 09:45:31 [lucknow.att.net] ~$ perl -v
>
> This is perl 5, version 12, subversion 4 (v5.12.4) built for darwin-thread-multi-2level
> ..
So far so normal.
> 09:46:47 [lucknow.att.net] ~$ sudo port install perl5 +perl5_18
> ---> Computing dependencies for perl5
> ---> Cleaning perl5
> ---> Scanning binaries for linking errors: 100.0%
> ---> No broken files found.
Observe that nothing happened: MacPorts did not reinstall the port.
> 09:47:42 [lucknow.att.net] ~$ perl -v
>
> This is perl 5, version 12, subversion 4 (v5.12.4) built for darwin-thread-multi-2level
> ..
>
> 09:47:53 [lucknow.att.net] ~$ sudo port installed perl5
> The following ports are currently installed:
> perl5 @5.12.4_0+perl5_12 (active)
>
> 09:47:56 [lucknow.att.net] ~$ ls -alF /opt/local/bin/perl
> lrwxr-xr-x 1 root admin 8 Oct 31 17:46 /opt/local/bin/perl@ -> perl5.12
> 09:49:44 [lucknow.att.net] ~$
So it is not surprising that this is still the same.
> 09:49:44 [lucknow.att.net] ~$ port installed perl5*
> The following ports are currently installed:
> perl5 @5.12.4_0+perl5_12 (active)
> perl5.12 @5.12.4_2 (active)
> perl5.16 @5.16.1_3 (active)
> perl5.18 @5.18.1_0 (active)
> 09:53:02 [lucknow.att.net] ~$
>
> Suggestions?
Observe with “port variants perl5” that it does not have a variant called “perl5_18”. We should add one.
More information about the macports-users
mailing list