Perl - what is the default?

Mathieu Arnold mat at FreeBSD.org
Tue Apr 18 14:56:46 UTC 2017


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. 

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.

-- 
Mathieu Arnold


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20170418/b0c8834a/attachment.sig>


More information about the freebsd-ports mailing list