在centos7编译安装python2.6

遇到一些库安装不上,可以忽略掉,具体见网址 http://blog.useasp.net/archive/2014/05/07/compile-and-install-python-2-dot-7-dot-6-on-centos.aspx  

Python build finished, but the necessary bits to build these modules were not found:
   _bsddb             _sqlite3           _ssl
   _tkinter           bsddb185           bz2
   dbm                gdbm               readline
   sunaudiodev
To find the necessary bits, look in setup.py in detect_modules() for the module's name.
 
模块依赖说明
_bsddbbsddbInterface to Berkeley DB library。Berkeley数据库的接口
_cursesncursesTerminal handling for character-cell displays。
_curses_panelncursesA panel stack extension for curses。
_sqlite3sqliteDB-API 2.0 interface for SQLite databases。SqlLite,CentOS可以安装sqlite-devel
_sslopenssl-devel.i686TLS/SSL wrapper for socket objects。
_tkinterN/Aa thin object-oriented layer on top of Tcl/Tk。如果不使用桌面程序可以忽略TKinter
bsddb185old bsddb module老的bsddb模块,可忽略。
bz2bzip2-devel.i686Compression compatible with bzip2。bzip2-devel
dbmbsddbSimple “database” interface。
dlN/ACall C functions in shared objects.Python2.6开始,已经弃用。
gdbmgdbm-devel.i686GNU’s reinterpretation of dbm
imageopN/AManipulate raw image data。已经弃用。
readlinereadline-develGNU readline interface
sunaudiodevN/AAccess to Sun audio hardware。这个是针对Sun平台的,CentOS下可以忽略
zlibZlibCompression compatible with gzip
updatedupdated2024-07-192024-07-19