ittechlab
asked on
compiling 32 bit in 64 bit os
I am trying to compile a perl source file with 32 bit option .
I have rhel5.8 64 bit but my apps require 32 bit perl and postgres. Can some one help me how to build 32 bit instead of 64 bit.
I have rhel5.8 64 bit but my apps require 32 bit perl and postgres. Can some one help me how to build 32 bit instead of 64 bit.
What have you tried already and what errors did you get?
To compile in 32bit, you need to have all other requisite libraries in 32bit available.
It is not clear
are you running a perl Makefile.pl?
I am not sure how your apps require perl or postgresql to be 32 bit.
postresql is a data respository as long as you can run a command you can get the data out as long as it is running. The data within does not change because it is a 32 bit or a 64bit system.
similar with perl. your perl code will run on either system.
You may have to compile your custom module on the 32 and 64 bit system to install.
It is not clear
are you running a perl Makefile.pl?
I am not sure how your apps require perl or postgresql to be 32 bit.
postresql is a data respository as long as you can run a command you can get the data out as long as it is running. The data within does not change because it is a 32 bit or a 64bit system.
similar with perl. your perl code will run on either system.
You may have to compile your custom module on the 32 and 64 bit system to install.
ASKER
application team asked to build 32 bit for both.
I do have the source code and i tried to run the following.
./configure --prefix=/pgarc/pgsql --with-perl
gmake
gmake check
gmake install
before this i need to do the same for perl. not sure how to run ./configure for 32 bit
I do have the source code and i tried to run the following.
./configure --prefix=/pgarc/pgsql --with-perl
gmake
gmake check
gmake install
before this i need to do the same for perl. not sure how to run ./configure for 32 bit
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.