[oi-dev] Perl 5.34

Klaus Ziegler klausz at haus-gisela.de
Sat Mar 12 16:55:56 UTC 2022



On 3/12/22 15:17, stes at PANDORA.BE wrote:
> Based on the comment for PERL_VERSION in oi-userland/makerules/shared-macros.mk
> I think the idea is to continue to use the 5.22 and 5.24 perl versions,
> until it is changed system-wide.
>
> At least that's how I interpret the comment above PERL_64_ONLY_VERSIONS :
>
> # This is the default BUILD version of perl
> # Not necessarily the system's default version, i.e. /usr/bin/perl
> PERL_VERSION =  5.22
>
> # Do *not* add 5.34 to PERL_VERSIONS/PERL_64_ONLY_VERSIONS yet.  We'll
> # enable it system-wide once all existing perl modules have been rebuilt
> # with support for all three current perl versions.
> PERL_VERSIONS = 5.22 5.24
>
> PERL_64_ONLY_VERSIONS = 5.24
I allready changed share-makros on SPARC, to be able to provide
as much PRs as possible for i386/amd64:

  # This is the default BUILD version of perl
  # Not necessarily the system's default version, i.e. /usr/bin/perl
-PERL_VERSION =  5.22
+PERL_VERSION =  5.34

  # Do *not* add 5.34 to PERL_VERSIONS/PERL_64_ONLY_VERSIONS yet. We'll
  # enable it system-wide once all existing perl modules have been rebuilt
  # with support for all three current perl versions.
-PERL_VERSIONS = 5.22 5.24
+PERL_VERSIONS = 5.34

-PERL_64_ONLY_VERSIONS = 5.24
+PERL_64_ONLY_VERSIONS = 5.34

  PERL.5.22 =    /usr/perl5/5.22/bin/perl
  PERL.5.24 =    /usr/perl5/5.24/bin/perl

There is no problem in using 5.34 for 32/64 bit components,
as long as you don't have to link against libperl.so, so please
use perl-5.34, at least for new projects.

Klaus




More information about the oi-dev mailing list