in reply to Re: Distribute script with dependencies
in thread Distribute script with dependencies

Unfortunately, they are not all the same version of perl. I have been using a perl compiled with gcc on both Linux and AIX for development, but the new requirement is to use the system perl for AIX and Linux. I thought that might be a problem, which is why I have been trying so hard to push the pp solution (I have compiled different versions for both platforms and it works great).

I have been asked to "remove any dependencies" from this particular script if I can't come up with a viable solution for distribution. I'd rather not re-write the wheel.

Does anyone know of a good write-up on using local::lib for distribution?

  • Comment on Re^2: Distribute script with dependencies

Replies are listed 'Best First'.
Re^3: Distribute script with dependencies
by Limbic~Region (Chancellor) on Oct 25, 2013 at 13:02 UTC
    kcalvelli,
    I might be able to make this easy for you. The system AIX Perl is built with the non-free propietary IBM compiler. As a result, you can not use any non pure Perl modules because they will not be binary compatible unless they have an expensive license. Update: Let me give a concrete example. Let's say they want to connect to a database (DB2, Oracle, Pg, etc). You can't build DBD::DB2 with gcc and have it work with the system Perl.

    Cheers - L~R