Building python, bz2 coming up missing

Dan Stromberg drsalists at gmail.com
Wed Nov 21 20:43:57 EST 2012


On Wed, Nov 21, 2012 at 12:18 PM, Dan Stromberg <drsalists at gmail.com> wrote:

>
> 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 setup.py 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.
>

I've worked around the issue with:

export LDFLAGS="-L/usr/lib/i386-linux-gnu"

...prior to ./configure, but it'd still be nice to know a way of building
things without requiring this.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20121121/e49c52b0/attachment.html>


More information about the Python-list mailing list