<div dir="ltr">Hi folks,<div><br></div><div>My bootstrap build of cctbx/DIALS on Ubuntu 16.04.2 LTS produces a base Python that does not have bz2 support. This is despite the fact that the package &quot;libbz2-dev is already the newest version (1.0.6-8).&quot; Looking in Python_install_log I see</div><div><br></div><div><div><font face="monospace, monospace">Python build finished, but the necessary bits to build these modules were not found:</font></div><div><font face="monospace, monospace">_bsddb             _curses            _curses_panel   </font></div><div><font face="monospace, monospace">_sqlite3           _tkinter           bsddb185        </font></div><div><font face="monospace, monospace">bz2                dbm                dl              </font></div><div><font face="monospace, monospace">gdbm               imageop            readline        </font></div><div><font face="monospace, monospace">sunaudiodev     </font>                                      </div></div><div><br></div><div>Has anyone got any ideas? Anyone done a boostrap build on Ubuntu where bz2 can be imported in Python?</div><div><br></div><div>Also, what&#39;s the procedure to rebuild from base, recovering all the currently configured modules? My guess is that something like this would do it, but is there a better way?</div><div><br></div><div><font face="monospace, monospace">export MYMODULES=$(libtbx.list_modules | tr &#39;\n&#39; &#39; &#39;)<br></font></div><div><font face="monospace, monospace">rm -rf base_tmp/ base/ build/</font></div><div><font face="monospace, monospace">python bootstrap.py --builder=dials base<br></font></div><div><font face="monospace, monospace">python bootstrap.py --builder=dials build</font></div><div><font face="monospace, monospace">cd build</font></div><div><font face="monospace, monospace">source setpaths.sh<br></font></div><div><font face="monospace, monospace">libtbx.configure $MYMODULES</font></div><div><font face="monospace, monospace">make</font></div><div><br></div><div>Cheers</div><div><br clear="all"><div><div class="gmail_signature">-- David<br></div></div>
</div></div>