in reply to Re: Perl Upgrade Issue: Invalid Argument error
in thread Perl Upgrade Issue: Invalid Argument error

Can anyone please advise how should I upgrade Perl version on Solaris 8. On ActivePerl site, there is a package available for 5.22 - 5.24. However, its generic for all Unix and not specific to Solaris. I have downloaded Package for Perl 5.22 but not sure how to install it. Also, bin/perl binary has perl-static written in it. Is it soft link to perl-static file. Can anyone please advise.

  • Comment on Re^2: Perl Upgrade Issue: Invalid Argument error

Replies are listed 'Best First'.
Re^3: Perl Upgrade Issue: Invalid Argument error
by Corion (Patriarch) on May 28, 2018 at 07:51 UTC

    Ideally you consult with your system administrator on how to upgrade your version of Perl.

    Personally, I would recommend installing it under (for example) /opt/perl5.22/ so it doesn't conflict with the system perl or other installations.

    If you have questions regarding the ActivePerl Enterprise Edition, I suggest that you consult with ActiveState directly. No other versions of Perl as provided by ActiveState seem to be available for Solaris.

    In my experience, building a standard Perl for Solaris is fairly easy. Following the Installation From Source instructions should give you your own Perl installation that you can use in parallel to the existing version. Again, I recommend configuring it that the new Perl sits under /opt/perl-5.26 instead of overwriting /usr/bin/perl. Replacing the system Perl will bring far more problems than it solves usually.

Re^3: Perl Upgrade Issue: Invalid Argument error
by marto (Cardinal) on May 28, 2018 at 08:49 UTC

    Corion is right, install your own perl elsewhere, leave the system perl alone. Also Solaris 5.8 is 6 years out of support, you won't be getting any patches for problems.

    Update: so pretty much the same advice as last time :P