[cctbxbb] bz2 support on Ubuntu

David Waterman dgwaterman at gmail.com
Thu Jun 8 04:57:59 PDT 2017

Hi folks,

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 "libbz2-dev is already the newest version (1.0.6-8)." Looking in
Python_install_log I see

Python build finished, but the necessary bits to build these modules were
not found:
_bsddb             _curses            _curses_panel
_sqlite3           _tkinter           bsddb185
bz2                dbm                dl
gdbm               imageop            readline

Has anyone got any ideas? Anyone done a boostrap build on Ubuntu where bz2
can be imported in Python?

Also, what'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?

export MYMODULES=$(libtbx.list_modules | tr '\n' ' ')
rm -rf base_tmp/ base/ build/
python bootstrap.py --builder=dials base
python bootstrap.py --builder=dials build
cd build
source setpaths.sh
libtbx.configure $MYMODULES


-- David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://phenix-online.org/pipermail/cctbxbb/attachments/20170608/029ebaa4/attachment.htm>

More information about the cctbxbb mailing list