3
I am trying to install 32 bit Python on x86_64_ Linux.
Following instructions from http://blog.devork.be/2009/02/compiling-32-bit-python-on-amd64.html
I downloaded the tarball from here: http://www.python.org/getit/
Untarred in my home directory, which is a RHEL 5.5 OS
Under /home/local/NT/jayanthv/Python-2.7.3,
I run
OPT=-m32 LDFLAGS=-m32 ./configure --prefix=/opt/pym32
and then I run gmake.
And the build fails as expected after certain modules.
Python build finished, but the necessary bits to build these modules were not found:
_tkinter bsddb185 sunaudiodev
To find the necessary bits, look in setup.py in detect_modules() for the module's name.
Failed to build these modules:
_ctypes _sqlite3
running build_scripts
Nothing seems to be there under /opt/pym32.
But, under /home/local/NT/jayanthv/Python-2.7.3, there is a 32 bit python executable I can use.
What is the use of prefix here? Am I doing something wrong?
The system python is a 64 bit executable, I need a 32 bit installable. I am trying to install omniORB, but I am running into problems with omniidl, and hence trying to see if the 32 bit executable does the trick. – roymustang86 – 2012-08-28T19:56:56.493
@roymustang86 - makes sense, keep calm and carry on. – Rich Homolka – 2012-08-28T20:14:35.310