in reply to compiling perl 5.38 on a solaris 10 system

Do you know where the problem is, or where to find a solution?

I don't really understand the issue - but here are some things you could try if no-one here comes up with some knowledgeable advice.

The problematic line 28 in Tabs.pm is:
$offs = () = /\PM/g;
One thing you could do is to replace the cpan/Text-Tabs in the perl-5.38.0 source with the version that shipped with perl-5.34.0. That's actually what I would try first - but I'm not recommending that you do as I do.
(The Tabs.pm that shipped with 5.36.0 contains the same problematic construct as the 5.38.0 version - so I don't see much point in testing it.)

A more responsible thing to do would be to raise an issue about this at https://github.com/ap/Text-Tabs/issues and see what the Text::Tabs maintainer has to say about it.
Or you could also try using the current github repo source. However, although line 28 has been changed, it still contains the same troublesome /\PM/g construct.
You might also get some good advice by raising an issue about this at https://github.com/Perl/perl5/issues, though they might fob you off because it's a "cpan" distro, and not really p5p's responsibility to fix.

That's about all I can think of.

Cheers,
Rob

Replies are listed 'Best First'.
Re^2: compiling perl 5.38 on a solaris 10 system
by ikegami (Patriarch) on Aug 14, 2023 at 17:19 UTC

    see what the Text::Tabs maintainer has to say about it.

    It's not a Text::Tabs issue. This is a problem with Perl's builtin Unicode support.

    Some other error occurred earlier in the Perl installation process. I can't believe that would be quiet!

    OP, please provide the complete build log.

Re^2: compiling perl 5.38 on a solaris 10 system
by lucvdv (Novice) on Aug 14, 2023 at 16:02 UTC

    Hi Rob,

    Thanks for your reply.

    I've compiled perl on one of our linux systems and there compilation runs fine. The solaris system is quite old, so I assume something outdated is causing the problem.

    The reason I was compiling it on solaris was that our current perl version which is 5.12 doesn't support SSL, and I need that to connect to Microsoft's Active Directory. I can live with executing a ssh script from solaris to linux and put more effort in the migration from solaris to linux instead of trying to solve this issue as it seems not to have a straightforward solution.

    Thanks,
    Luc.

      The last few builds I tried on Solaris (SPARC) 10 failed, using gcc. The last would have been around v5.34, 2021ish. There was issues raised for failing builds at the time. Now we're focused on ditching Solaris as a platform for Linux.