Building python, bz2 coming up missing

Dan Stromberg drsalists at
Wed Nov 21 21:18:49 CET 2012

I'm attempting to build cpython 2.{5,6,7} and cpython 3.[0,1,2,3}.  I find
that having them all around facilitates interversion testing and
discovering what works in which versions.

Anyway, in 3.3, I'm getting a bz2 module, but in 3.2, I'm not - but only
when compiling on Linux Mint 14.  On Linux Mint 13, I got a bz2 module in
all my builds.

In 3.2 on Linux Mint 14, I get the familiar:
Python build finished, but the necessary bits to build these modules were
not found:
_curses            _curses_panel      _dbm
_gdbm              _sqlite3           _ssl
_tkinter           bz2                ossaudiodev
readline           zlib
To find the necessary bits, look in in detect_modules() for the
module's name.

Except I definitely installed a bz2 "dev" package.  Actually, I also
installed gdbm and Berkeley DB dev packages.

Any suggestions?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list