suresh.nair.ibm has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
I need to compile perl 5.28.2, both 32 bit and 64 bit on AIX 7.1 server, and gather and package both of them into a single package in either AIX fileset or rpm format. I am able to compile both 32 bit and 64 bit perl separately but not sure how to make sure its combined in the same directory, example, /usr/local/perl,
Any advise on how this can be done?
thanks
Re: Compiling perl both 32 bit and 64 bit
by Perlbotics (Archbishop) on Mar 05, 2020 at 17:43 UTC
|
You could pack both versions into a single archive/package using dedicated temporary paths (properly relocated to be installed under /usr/local/perl)
for 32bit and 64bit versions. Then, the install script would select the appropriate path for the given architecture (i.e. uname) and
install it under the correct destination directory (/usr/local/perl). Normally, you would have two separate RPMs, one for each architecture.
| [reply] |
|