您的位置:首页 > 运维架构 > Linux

centos6.5 源代码方式安装python2.7.8

2014-07-24 14:26 513 查看
./configure

make

Python build finished, but the necessary bits to build these modules were not found:
_curses            _curses_panel      _sqlite3
_ssl               _tkinter           bsddb185
bz2                dl                 imageop
readline           sunaudiodev
To find the necessary bits, look in setup.py in detect_modules() for the module's name.

Failed to build these modules:
_multiprocessing   fcntl

yum install readline-devel(readline)

yum install ncurses-devel ncurses(_curses _curses_panel)

yum install sqlite-devel (_sqlite3)

Failed to build these modules:
_multiprocessing   fcntl
rm /usr/include/stropts.h
yum install openssl-devel(_ssl)

yum install tkinter* tk-devel (_curses,_curses_panel,_tkinter)

yum install bzip2* (bz2)

Python build finished, but the necessary bits to build these modules were not found:
bsddb185           dl                 imageop
sunaudiodev
To find the necessary bits, look in setup.py in detect_modules() for the module's name.

running build_scripts

上述模块安装意义不大:

bsddb185: Older version of Oracle Berkeley DB. Undocumented. Install version 4.8 instead.
dl: For 32-bit machines. Deprecated. Use ctypes instead.
imageop: For 32-bit machines. Deprecated. Use PIL instead.
sunaudiodev: For Sun hardware. Deprecated.

make install
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: