Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Compiling perl both 32 bit and 64 bit

by suresh.nair.ibm (Initiate)
on Mar 05, 2020 at 17:34 UTC ( [id://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 (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.

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?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2024-04-25 10:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found