AIX Open Source

 View Only
  • 1.  Perlbrew on AIX?

    Posted Mon March 21, 2022 09:31 PM
    Has anyone installed and used perlbrew?

    I did find that I had to link /opt/freeware/bin/gtar to /opt/freeware/bin/tar,  but still had failures, the same errors, reported by this user, for any version....

    Auto-guessed '5.32.1'
    patching Configure
    The assert subroutine failed: hunk, file patch.c, line 375
    Died at //perl5/perlbrew/bin/patchperl line 1794.
    ##### Brew Failed #####

    I was hoping to be able to get this working, then try to use the PERLBREW_ROOT=/opt/freeware/share/perl5 (which is the perl.rpm from the toolbox)

    The primary reason I was trying this was because I read some recommendations on Perl Monks, when seeking the right method to manage ~/.cpan when managing perl.rte AND perl.rpm installations.

    If anyone has recommendations for managing that without perlbrew, I would greatly appreciate that as well, although think it would be great for AIX customers if perlbrew could be used - especially if we could eventually install Toolbox perl.rpms to the PERLBREW_ROOT (that may be a pipe dream!!) :-)

    Jan Harris

  • 2.  RE: Perlbrew on AIX?

    Posted 13 days ago
    Edited by Ayappan P 8 days ago

    it may be a bit late for an answer but still.. I had a partial success with perl 5.36.0 - had to adjust a script looking for gtar instead of tar, set the correct PATH and disabled test (there was one test failing - op/sprintf2.t). In the end I got a 32-bit version of perl compiled. So far I am was not successful with 64bit perl - getting an error from linker trying to link with 32-bit libdb (XCOFF32 object files are not allowed in 64-bit mode).

    Ping me if you need some details.



    FWIW: Got success with compilation of 64-bit perl when using xlc compiler.

    Jozef Riha