<br><div class="gmail_quote">On Wed, Nov 21, 2012 at 12:18 PM, Dan Stromberg <span dir="ltr"><<a href="mailto:drsalists@gmail.com" target="_blank">drsalists@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>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.<br><br>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.<br>
<br>In 3.2 on Linux Mint 14, I get the familiar:<br><div style="margin-left:40px">Python build finished, but the necessary bits to build these modules were not found:<br>_curses _curses_panel _dbm<br>_gdbm _sqlite3 _ssl<br>
_tkinter bz2 ossaudiodev<br>readline zlib<br>To find the necessary bits, look in setup.py in detect_modules() for the module's name.<br></div><br>Except I definitely installed a bz2 "dev" package. Actually, I also installed gdbm and Berkeley DB dev packages.<br>
</blockquote><div> </div><div>I've worked around the issue with:<br><br><div style="margin-left:40px">export LDFLAGS="-L/usr/lib/i386-linux-gnu"<br></div><br>...prior to ./configure, but it'd still be nice to know a way of building things without requiring this.<br>
<br></div></div>