Hi Billy,
I'm replying on this old thread because I have finally got round to trying a bootstrap build for DIALS out again on Ubuntu, having waited for updates to the dependencies and updating the OS to 16.04.
The good news is, the build ran through fine. This is the first time I've had a bootstrap build complete without error on Ubuntu, so thanks to you and the others who have worked on improving the build in the last few months!
The bad news is I'm getting two failures in the DIALS tests:
dials/test/command_line/tst_export_bitmaps.py
dials_regression/test.py
Both are from PIL
File "/home/fcx32934/dials_test_build/base/lib/python2.7/site-packages/PIL/Image.py", line 401, in _getencoder
raise IOError("encoder %s not available" % encoder_name)
IOError: encoder zip not available
Indeed, from base_tmp/imaging_install_log it looks like PIL is not configured properly
--------------------------------------------------------------------
PIL 1.1.7 SETUP SUMMARY
--------------------------------------------------------------------
version 1.1.7
platform linux2 2.7.8 (default_cci, Jun 10 2016, 16:04:32)
[GCC 5.3.1 20160413]
--------------------------------------------------------------------
*** TKINTER support not available
*** JPEG support not available
*** ZLIB (PNG/ZIP) support not available
*** FREETYPE2 support not available
*** LITTLECMS support not available
--------------------------------------------------------------------
Any ideas? I have zlib headers but perhaps PIL can't find them.
On a related note, the free version of PIL has not been updated for years. The replacement Pillow has started to diverge. I first noticed this when Ubuntu 16.04 gave me Pillow 3.1.2 and my cctbx build with the system python produced failures because it no longer supports certain deprecated methods from PIL. I worked around that in r24587, but these things are a losing battle. Is it time to switch cctbx over to Pillow instead of PIL?
Cheers