Perl - what is the default?

Rainer Hurling rhurlin at gwdg.de
Tue Apr 18 19:22:56 UTC 2017


Am 18.04.2017 um 16:56 schrieb Mathieu Arnold:
> Le 18/04/2017 à 15:59, Jim Trigg a écrit :
>> According to UPDATING as of 20161103, "The default Perl version has
>> been switched to Perl 5.24." However, when I follow the instructions
>> there to switch, I get the following message (after running portsnap
>> fetch update manually even though it runs automatically every night):
>> "      This is *NOT* the DEFAULT perl version
>>
>> It will *NOT* install /usr/local/bin/perl
>>
>> It will *ONLY* install /usr/local/bin/perl5.24.1
>>
>> The default Perl version currently is 5.20."
>>
>> Yes, I added "DEFAULT_VERSIONS+= perl=5.24" to /etc/make.conf, and
>> grep confirms that that is the only incidence of perl in the file.

Perhaps, it is only a small typo at your side (missing number 5)?

    DEFAULT_VERSIONS+= perl=5.24

instead of

    DEFAULT_VERSIONS+= perl5=5.24

> 
> But did you add:
> 
> DEFAULT_VERSIONS+= perl5=5.24
> 
> like the message says you have to ?
> 
> If you did, it is possible that you have a really really old system and
> you still have a /usr/local/etc/perl5_version file, you should remove it.
> 



More information about the freebsd-ports mailing list