Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Compiling perl both 32 bit and 64 bit

by suresh.nair.ibm (Initiate)
on Mar 05, 2020 at 17:34 UTC ( #11113864=perlquestion: print w/replies, xml ) Need Help??

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

Replies are listed 'Best First'.
Re: Compiling perl both 32 bit and 64 bit
by Perlbotics (Bishop) 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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://11113864]
Approved by marto
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (8)
As of 2022-06-27 14:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My most frequent journeys are powered by:









    Results (88 votes). Check out past polls.

    Notices?