For building the 64 bit Linux Python,
use a 64 bit Linux VM system.
Use the same steps as above,
but the path to the
AFDKOPythonBuild must be an absolute path.
Also, you must first get the build-essentials and readline packages,
sudo apt-get install build-essential
sudo apt-get install zlib1g-dev # gets you the zlib.h file and zlib library.
sudo apt-get install libreadline-dev
You must also edit the Modules/Setup.dist file,
BEFORE running ./configure,
to enable the readlines library by removing the comment at the start of the line:
readline readline.c -lreadline -ltermcap # line 166 at the moment.
After building the Python interpreter,
copy the file '/lib/i386-linux-gnu/libz.so.220.127.116.11'
Then cd there, and make a symbolic link named 'libz.so.1' to the libz.so.1.2.3. file.