szabgab has asked for the wisdom of the Perl Monks concerning the following question:

It seems to be that time of the year again. I have to install several CPAN packages on AIX on the standard perl that comes with the CDs of AIX 5.2 (this is an 5.8.0).

I would like to get the binary versions (preferably from IBM) but I have no idea where to find them. So anyone with directions on how to get some of the binaries?

Update:

Sure I can get the source and build myself but I try to persuade the local sysadmin to do his job but he can only install. He does not know how to build.

Besdies we want the warm feeling of "approved by IBM"

Replies are listed 'Best First'.
Re: Binary CPAN packages for AIX
by rinceWind (Monsignor) on Mar 07, 2006 at 14:25 UTC
    Sure I can get the source and build myself but I try to persuade the local sysadmin to do his job but he can only install. He does not know how to build.

    Fine. You do the build, and he can do the install. Do a local install to a directory of your own, without root, for each module:

    export PERL5LIB=/home/me/myperl/lib perl Makefile.PL LIB=/home/me/myperl/lib PREFIX=/home/me/myperl make make test make install

    Zip up the entire myperl directory and give it to your admin. As an alternative, bundle your application as one or more executables with PAR.

    Besdies we want the warm feeling of "approved by IBM"

    That's more tricky. You really need to get IBM to build and certify the modules. An awful lot depends on their ability and willingness to support Perl, even to paying clients. There could be issues with modules that come with NO WARRANTY disclaimers.

    --

    Oh Lord, won’t you burn me a Knoppix CD ?
    My friends all rate Windows, I must disagree.
    Your powers of persuasion will set them all free,
    So oh Lord, won’t you burn me a Knoppix CD ?
    (Missquoting Janis Joplin)

Re: Binary CPAN packages for AIX
by rinceWind (Monsignor) on Mar 07, 2006 at 13:51 UTC

    ActiveState claims to have ActivePerl on AIX, though whether they have an active PPM repository for AIX, and whether they have reasonably up to date versions of the modules you need is anybody's guess.

    What you need is a friend with some spare time, an RS6000 and a C compiler. Better still, why not get the C compiler yourself and build the modules from source - assuming they use XS code (if they don't, that's even better, you can just install the modules as they are without needing a C compiler).

    It's important to use the same C compiler and options that perl was actually built with. Check this with perl -V.

    --

    Oh Lord, won’t you burn me a Knoppix CD ?
    My friends all rate Windows, I must disagree.
    Your powers of persuasion will set them all free,
    So oh Lord, won’t you burn me a Knoppix CD ?
    (Missquoting Janis Joplin)

Re: Binary CPAN packages for AIX
by runrig (Abbot) on Mar 07, 2006 at 16:29 UTC
    There are some packaged perl modules for AIX at Bull, but the selection is limited. What I used to do when I didn't have root access was download the module from CPAN, do the "perl Makefile.PL/make/make test" myself, then let the sysadmin do the "make install".