<div dir="ltr">Hi David,<div><br></div><div>Scratch the lib64z1 and lib64z1-dev packages. Apparently, those are for i386.</div><div><br></div><div>For 12.04, 14.04, and 16.04, libz.so is placed in /usr/lib/x86_64-linux-gnu by the zlib1g-dev package. It looks like Ubuntu libraries are now placed in a directory named by architecture to better support multiple architectures on the same machine.</div><div><br></div><div>I updated install_base_packages to supply that directory for building PIL. This is specific to x86_64, so this won&#39;t work on 32-bit Ubuntu. But if you want a 32-bit Ubuntu build, installing lib64z1-dev should work.</div><div><br></div><div>Let me know if you have any more issues. Thanks!</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><div>--</div><div><span style="font-size:12.8000001907349px">Billy K. Poon</span><br></div></div><div>Research Scientist, Molecular Biophysics and Integrated Bioimaging</div><div>Lawrence Berkeley National Laboratory</div><div>1 Cyclotron Road, M/S 33R0345</div><div>Berkeley, CA 94720</div><div>Tel: (510) 486-5709</div><div>Fax: (510) 486-5909</div><div>Web: <a href="https://phenix-online.org" target="_blank">https://phenix-online.org</a></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Tue, Jun 14, 2016 at 11:29 AM, David Waterman <span dir="ltr">&lt;<a href="mailto:dgwaterman@gmail.com" target="_blank">dgwaterman@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Hey Billy,</p>
<p dir="ltr">Thanks. I&#39;m travelling at the moment, but once I&#39;m back I&#39;ll give that a go.</p>
<p dir="ltr">Cheers<span class="HOEnZb"><font color="#888888"><br>
David</font></span></p><div class="HOEnZb"><div class="h5">
<br><div class="gmail_quote"><div dir="ltr">On Tue, 14 Jun 2016, 17:34 Billy Poon, &lt;<a href="mailto:bkpoon@lbl.gov" target="_blank">bkpoon@lbl.gov</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi David,<div><br></div><div>Actually, it looks like the lib64z1-dev package provides libz.so in /usr/lib64, so installing that package should fix your issue. It&#39;s a bit odd that the lib64z1 package does not provide that file.</div></div><div class="gmail_extra"></div><div class="gmail_extra"><br clear="all"><div><div data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><div>--</div><div><span style="font-size:12.8000001907349px">Billy K. Poon</span><br></div></div><div>Research Scientist, Molecular Biophysics and Integrated Bioimaging</div><div>Lawrence Berkeley National Laboratory</div><div>1 Cyclotron Road, M/S 33R0345</div><div>Berkeley, CA 94720</div><div>Tel: <a href="tel:%28510%29%20486-5709" value="+15104865709" target="_blank">(510) 486-5709</a></div><div>Fax: <a href="tel:%28510%29%20486-5909" value="+15104865909" target="_blank">(510) 486-5909</a></div><div>Web: <a href="https://phenix-online.org" target="_blank">https://phenix-online.org</a></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
<br></div><div class="gmail_extra"><div class="gmail_quote">On Mon, Jun 13, 2016 at 1:53 PM, Billy Poon <span dir="ltr">&lt;<a href="mailto:bkpoon@lbl.gov" target="_blank">bkpoon@lbl.gov</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi David,<div><br></div><div>I don&#39;t have a fix yet, but here is a workaround. It seems like setup.py is looking for libz.so instead of libz.so.1, so you can fix the issue by making a symbolic link for libz.so in /usr/lib64.</div><div><br></div><div><font face="monospace, monospace">sudo ln -s /usr/lib64/libz.so.1 /usr/lib64/libz.so</font></div><div><br></div><div>This requires root access, so that&#39;s why it&#39;s just a workaround. </div></div><div class="gmail_extra"><span><br clear="all"><div><div data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><div>--</div><div><span style="font-size:12.8000001907349px">Billy K. Poon</span><br></div></div><div>Research Scientist, Molecular Biophysics and Integrated Bioimaging</div><div>Lawrence Berkeley National Laboratory</div><div>1 Cyclotron Road, M/S 33R0345</div><div>Berkeley, CA 94720</div><div>Tel: <a href="tel:%28510%29%20486-5709" value="+15104865709" target="_blank">(510) 486-5709</a></div><div>Fax: <a href="tel:%28510%29%20486-5909" value="+15104865909" target="_blank">(510) 486-5909</a></div><div>Web: <a href="https://phenix-online.org" target="_blank">https://phenix-online.org</a></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
<br></span><div><div><div class="gmail_quote">On Sat, Jun 11, 2016 at 5:05 PM, Billy Poon <span dir="ltr">&lt;<a href="mailto:bkpoon@lbl.gov" target="_blank">bkpoon@lbl.gov</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi David,<div><br></div><div>Sorry it look so long! Setting up all the virtual machines was a time sink and getting things to work on 32-bit CentOS 5 and Ubuntu 12.04 was a little tricky.</div><div><br></div><div>It looks like Ubuntu 16.04 moved its libraries around. I used apt-get to install libz-dev and lib64z1 (the 64-bit library). There is a libz.so.1 file in /lib/x86_64-linux-gnu and in /usr/lib64.</div><div><br></div><div>I have not gotten it to work yet, but I&#39;m pretty sure this is the issue. I&#39;ll have to double-check 12.04 and 14.04.</div><div><br></div><div>As for Pillow, I did test it a few months ago, but I remember there being API changes that will need to fixed. </div></div><div class="gmail_extra"><span><br clear="all"><div><div data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><div>--</div><div><span style="font-size:12.8000001907349px">Billy K. Poon</span><br></div></div><div>Research Scientist, Molecular Biophysics and Integrated Bioimaging</div><div>Lawrence Berkeley National Laboratory</div><div>1 Cyclotron Road, M/S 33R0345</div><div>Berkeley, CA 94720</div><div>Tel: <a href="tel:%28510%29%20486-5709" value="+15104865709" target="_blank">(510) 486-5709</a></div><div>Fax: <a href="tel:%28510%29%20486-5909" value="+15104865909" target="_blank">(510) 486-5909</a></div><div>Web: <a href="https://phenix-online.org" target="_blank">https://phenix-online.org</a></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
<br></span><div><div><div class="gmail_quote">On Sat, Jun 11, 2016 at 2:04 AM, David Waterman <span dir="ltr">&lt;<a href="mailto:dgwaterman@gmail.com" target="_blank">dgwaterman@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Billy,<div><br></div><div>I&#39;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.</div><div><br></div><div>The good news is, the build ran through fine. This is the first time I&#39;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!</div><div><br></div><div>The bad news is I&#39;m getting two failures in the DIALS tests:</div><div><br></div><div>dials/test/command_line/tst_export_bitmaps.py<br></div><div>dials_regression/test.py<br></div><div><br></div><div>Both are from PIL</div><div><br></div><div><div>      File &quot;/home/fcx32934/dials_test_build/base/lib/python2.7/site-packages/PIL/Image.py&quot;, line 401, in _getencoder</div><div>        raise IOError(&quot;encoder %s not available&quot; % encoder_name)</div><div>    IOError: encoder zip not available</div></div><div><br></div><div>Indeed, from base_tmp/imaging_install_log it looks like PIL is not configured properly</div><div><br></div><div><div>--------------------------------------------------------------------</div><div>PIL 1.1.7 SETUP SUMMARY</div><div>--------------------------------------------------------------------</div><div>version       1.1.7</div><div>platform      linux2 2.7.8 (default_cci, Jun 10 2016, 16:04:32)</div><div>              [GCC 5.3.1 20160413]</div><div>--------------------------------------------------------------------</div><div>*** TKINTER support not available</div><div>*** JPEG support not available</div><div>*** ZLIB (PNG/ZIP) support not available</div><div>*** FREETYPE2 support not available</div><div>*** LITTLECMS support not available</div><div>--------------------------------------------------------------------</div></div><div><br></div><div>Any ideas? I have zlib headers but perhaps PIL can&#39;t find them.</div><div><br></div><div>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?</div><div><br></div><div>Cheers</div><div class="gmail_extra"><span><font color="#888888"><br clear="all"><div><div data-smartmail="gmail_signature">-- David<br></div></div></font></span><div><div>
<br><div class="gmail_quote">On 7 January 2016 at 18:12, Billy Poon <span dir="ltr">&lt;<a href="mailto:bkpoon@lbl.gov" target="_blank">bkpoon@lbl.gov</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi all,<div><br></div><div>Since wxPython was updated to 3.0.2, I have been thinking about updating the other GUI-related packages to more recent versions. I would probably update to the latest, stable version that does not involve major changes to the API so that backwards compatibility is preserved. Let me know if that would be helpful and I can prioritize the migration and testing.</div></div><div class="gmail_extra"><br clear="all"><div><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><div>--</div><div><span style="font-size:12.8000001907349px">Billy K. Poon</span><br></div></div><div>Research Scientist, Molecular Biophysics and Integrated Bioimaging</div><div>Lawrence Berkeley National Laboratory</div><div>1 Cyclotron Road, M/S 33R0345</div><div>Berkeley, CA 94720</div><div>Tel: <a href="tel:%28510%29%20486-5709" value="+15104865709" target="_blank">(510) 486-5709</a></div><div>Fax: <a href="tel:%28510%29%20486-5909" value="+15104865909" target="_blank">(510) 486-5909</a></div><div>Web: <a href="https://phenix-online.org" target="_blank">https://phenix-online.org</a></div></div></div></div></div></div></div></div></div></div></div></div></div></div><div><div>
<br><div class="gmail_quote">On Thu, Jan 7, 2016 at 9:30 AM, Nicholas Sauter <span dir="ltr">&lt;<a href="mailto:nksauter@lbl.gov" target="_blank">nksauter@lbl.gov</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">David,<div><br></div><div>I notice that the Pango version, 1.16.1, was released in 2007, so perhaps it is no surprise that the latest Ubuntu does not support it.  Maybe this calls for stepping forward the Pango version until you find one that works. I see that the latest stable release is 1.39.  </div><div><br></div><div>This would be valuable information for us..Billy Poon in the Phenix group is supporting the Phenix GUI, so it might be advisable for him to update the Pango version in the base installer.</div><div><br></div><div>Nick</div></div><div class="gmail_extra"><br clear="all"><div><div><div dir="ltr"><div>Nicholas K. Sauter, Ph. D.<br>Computer Staff Scientist, Molecular Biophysics and Integrated Bioimaging Division<div>Lawrence Berkeley National Laboratory<br>1 Cyclotron Rd., Bldg. 33R0345<br>Berkeley, CA 94720<br><a href="tel:%28510%29%20486-5713" value="+15104865713" target="_blank">(510) 486-5713</a><br></div></div></div></div></div>
<br><div class="gmail_quote"><div><div>On Thu, Jan 7, 2016 at 8:54 AM, David Waterman <span dir="ltr">&lt;<a href="mailto:dgwaterman@gmail.com" target="_blank">dgwaterman@gmail.com</a>&gt;</span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr">Hi again<div><br></div><div>Another data point: I just tried this on a different Ubuntu machine, this time running 14.04. In this case pango installed just fine. In fact all other packages installed too and the machine is now compiling cctbx.</div><div><br></div><div>I might have enough for comparison between the potentially working 14.04 and failed 15.04 builds to figure out what is wrong in the second case.</div><div><br></div><div>Cheers</div></div><div class="gmail_extra"><span><font color="#888888"><br clear="all"><div><div>-- David<br></div></div></font></span><div><div>
<br><div class="gmail_quote">On 7 January 2016 at 09:56, David Waterman <span dir="ltr">&lt;<a href="mailto:dgwaterman@gmail.com" target="_blank">dgwaterman@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi folks<div><br></div><div>I recently tried building cctbx+dials on Ubuntu 15.04 following the instructions here: <a href="http://dials.github.io/documentation/installation_developer.html" target="_blank">http://dials.github.io/documentation/installation_developer.html</a></div><div><br></div><div>This failed during installation of pango-1.16.1. Looking at pango_install_log, I see the command that failed was as follows:</div><div><br></div><div><div>gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DSYSCONFDIR=\&quot;/home/fcx32934/sw/dials_bootstrap_test/base/etc\&quot; -DLIBDIR=\&quot;/home/fcx32934/sw/dials_bootstrap_test/base/lib\&quot; -DG_DISABLE_CAST_CHECKS -I../.. -DG_DISABLE_DEPRECATED -I/home/fcx32934/sw/dials_bootstrap_test/base/include -I/home/fcx32934/sw/dials_bootstrap_test/base/include/freetype2 -g -O2 -Wall -MT fribidi.lo -MD -MP -MF .deps/fribidi.Tpo -c fribidi.c  -fPIC -DPIC -o .libs/fribidi.o</div><div>In file included from fribidi.h:31:0,</div><div>                 from fribidi.c:28:</div><div>fribidi_config.h:1:18: fatal error: glib.h: No such file or directory</div><div><br></div><div>The file glib.h appears to be in base/include/glib-2.0/, however this directory was not explicitly included in the command above, only its parent. This suggests a configuration failure in pango to me. Taking a look at base_tmp/pango-1.16.1/config.log, I see what look like the relevant lines:</div><div><br></div><div><div>configure:22227: checking for GLIB</div><div>configure:22235: $PKG_CONFIG --exists --print-errors &quot;$GLIB_MODULES&quot;</div><div>configure:22238: $? = 0</div><div>configure:22253: $PKG_CONFIG --exists --print-errors &quot;$GLIB_MODULES&quot;</div><div>configure:22256: $? = 0</div><div>configure:22304: result: yes</div></div><div><br></div><div>but this doesn&#39;t tell me very much. Does anyone have any suggestions as to how I might proceed?</div><div><br></div><div>Many thanks</div><span><font color="#888888"><div><br></div><div><div>-- David<br></div></div>
</font></span></div></div>
</blockquote></div><br></div></div></div>
<br></div></div>_______________________________________________<br>
cctbxbb mailing list<br>
<a href="mailto:cctbxbb@phenix-online.org" target="_blank">cctbxbb@phenix-online.org</a><br>
<a href="http://phenix-online.org/mailman/listinfo/cctbxbb" rel="noreferrer" target="_blank">http://phenix-online.org/mailman/listinfo/cctbxbb</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
cctbxbb mailing list<br>
<a href="mailto:cctbxbb@phenix-online.org" target="_blank">cctbxbb@phenix-online.org</a><br>
<a href="http://phenix-online.org/mailman/listinfo/cctbxbb" rel="noreferrer" target="_blank">http://phenix-online.org/mailman/listinfo/cctbxbb</a><br>
<br></blockquote></div><br></div></div></div>
<br>_______________________________________________<br>
cctbxbb mailing list<br>
<a href="mailto:cctbxbb@phenix-online.org" target="_blank">cctbxbb@phenix-online.org</a><br>
<a href="http://phenix-online.org/mailman/listinfo/cctbxbb" rel="noreferrer" target="_blank">http://phenix-online.org/mailman/listinfo/cctbxbb</a><br>
<br></blockquote></div><br></div></div></div></div>
<br>_______________________________________________<br>
cctbxbb mailing list<br>
<a href="mailto:cctbxbb@phenix-online.org" target="_blank">cctbxbb@phenix-online.org</a><br>
<a href="http://phenix-online.org/mailman/listinfo/cctbxbb" rel="noreferrer" target="_blank">http://phenix-online.org/mailman/listinfo/cctbxbb</a><br>
<br></blockquote></div><br></div></div></div>
</blockquote></div><br></div></div></div>
</blockquote></div><br></div>
_______________________________________________<br>
cctbxbb mailing list<br>
<a href="mailto:cctbxbb@phenix-online.org" target="_blank">cctbxbb@phenix-online.org</a><br>
<a href="http://phenix-online.org/mailman/listinfo/cctbxbb" rel="noreferrer" target="_blank">http://phenix-online.org/mailman/listinfo/cctbxbb</a><br>
</blockquote></div>
</div></div><br>_______________________________________________<br>
cctbxbb mailing list<br>
<a href="mailto:cctbxbb@phenix-online.org">cctbxbb@phenix-online.org</a><br>
<a href="http://phenix-online.org/mailman/listinfo/cctbxbb" rel="noreferrer" target="_blank">http://phenix-online.org/mailman/listinfo/cctbxbb</a><br>
<br></blockquote></div><br></div>