CentOS6.0
VM環境
■背景
CentOS6のPythonは、v2.6系。web2py用に2.5系が欲しいのでインストールしたときに起きたエラー。
■原因
Python2.5コンパイルじに、zilib環境が整っていなかった。
■解決
yum -y install zlib-delve
cd /usr/local/src
wget http://python.org/ftp/python/2.5.6/Python-2.5.6.tgz
tar fxz Python-2.5.2.tgz
cd Python-2.5.2
./configure
make
make install