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
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:
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?