RHEL 5.7 マシンで Python3 をビルドしようとしていますが、Python 3.2.2 のビルドに成功しました:
# 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
しかし、私は Python 3.2.3 で失敗しています (?):
Failed to build these modules:
_posixsubprocess
これは私を悩ませる問題ですか?どうすればそれを構築できますか? このパッチを見つけましたが、ウェブサイトから入手した Python 3.2.3 のソースには含まれていません ...
ソースにこのパッチを適用しても問題は解決しませんでした ...