Issue
I am trying to build Python3 on a RHEL 5.7 machine, I successful managed to build Python 3.2.2, with :
# Install required build dependencies
yum install openssl-devel bzip2-devel expat-devel gdbm-devel readline-devel sqlite-devel
# Fetch and extract source. Please refer to http://www.python.org/download/releases
# to ensure the latest source is used.
wget http://www.python.org/ftp/python/3.2/Python-3.2.tar.bz2
tar -xjf Python-3.2.tar.bz2
cd Python-3.2
# Configure the build with a prefix (install dir) of /opt/python3, compile, and install.
./configure --prefix=/opt/python3
make
But I am failing (?) with Python 3.2.3:
Failed to build these modules:
_posixsubprocess
Is this a problem that should bother me ? How do I build it?
I found this patch, but it's not included in sources Python 3.2.3 I obtained from the website ...
Applying this patch on my sources, didn't solve the problem ...
Solution
Well, I already answered my own question in serverfault.com: building python 3.2.2 on a Red Hat 5 machine
You need to apply the patch found here.
And then you can successfully build Python 3.
Answered By - oz123 Answer Checked By - Timothy Miller (WPSolving Admin)