Cheats home

Python installation

This little python note is for such python installation:

./configure --prefix=/opt/python-2.7.3 --with-threads --with-signal-module --with-pydebug

When installing from sources it is usually comes to install following modules:

_bsddb             _curses            _curses_panel   
_sqlite3           _tkinter           bsddb185        
bz2                dbm                gdbm 

(at least my installation couldn't find appropriate libraries to build python with this modules)

To do so, go installing one by one following libraries:

If make says, zlib is missing, install zlib1g-dev.

No need to install sunaudiodev and bsddb modules - as of python 2.6. they are deprecated.