centos6.5环境下安装python2.7
解压python源码包tar -xf Python-2.7.6.tar.xz
进入软件包目录
cd Python-2.7.6
添加配置项
./configure --prefix=/usr/local/python27
编译
make
报错
Python build finished, but the necessary bits to build these modules were not found:
_bsddb _sqlite3 _ssl
_tkinter bsddb185 bz2
dbm dl gdbm
imageop sunaudiodev
To find the necessary bits, look in setup.py in detect_modules() for the module's name.