<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Billy,<div class=""><br class=""></div><div class="">Thanks, it works!</div><div class=""><br class=""></div><div class="">It now compiles and when adding it to the path, “source build/setpaths.sh”, it can be imported in python.</div><div class=""><br class=""></div><div class="">A few questions, though:</div><div class="">- is it necessary to create a new conda environment to make it work? My first try where I got the error was in an existing environment.</div><div class="">- can I update any packages in my new environment without breaking cctbx? I would i.e. be wonderful to have access to ipython</div><div class=""><br class=""></div><div class="">Cheers,</div><div class="">Allan</div><div class=""><br class=""></div><div class=""><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">********************************************************</div><div class="">Allan Lyckegaard, PhD, Scientist</div><div class="">Xnovo Technology ApS</div><div class="">Galoche Alle 15</div><div class="">4600 Køge</div><div class="">CVR: 3489 4221</div><div class="">Mail:&nbsp;<a href="mailto:alyckegaard@xnovotech.com" class="">alyckegaard@xnovotech.com</a></div><div class="">Mobile: +45 5373 8581</div><div class="">*******************************************************</div><div class=""><span style="color: rgb(128, 128, 128); font-family: Arial, sans-serif; font-size: x-small;" class="">The information in this email, including any attachments, is confidential and intended only for the recipient(s) listed. Any use of this email for any other purpose is prohibited. If you have received this email in error, please notify me immediately by reply email, delete this email, and do not disclose its contents to anyone.</span></div><div class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><font face="Calibri, sans-serif" class=""><font color="#808080" face="Arial, sans-serif" size="1" class=""><br class=""></font></font></div></div></div></div><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On 21 Mar 2017, at 20.00, <a href="mailto:cctbxbb-request@phenix-online.org" class="">cctbxbb-request@phenix-online.org</a> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Send cctbxbb mailing list submissions to<br class=""><span class="Apple-tab-span" style="white-space:pre">        </span><a href="mailto:cctbxbb@phenix-online.org" class="">cctbxbb@phenix-online.org</a><br class=""><br class="">To subscribe or unsubscribe via the World Wide Web, visit<br class=""><span class="Apple-tab-span" style="white-space:pre">        </span>http://phenix-online.org/mailman/listinfo/cctbxbb<br class="">or, via email, send a message with subject or body 'help' to<br class=""><span class="Apple-tab-span" style="white-space:pre">        </span>cctbxbb-request@phenix-online.org<br class=""><br class="">You can reach the person managing the list at<br class=""><span class="Apple-tab-span" style="white-space:pre">        </span>cctbxbb-owner@phenix-online.org<br class=""><br class="">When replying, please edit your Subject line so it is more specific<br class="">than "Re: Contents of cctbxbb digest..."<br class=""><br class=""><br class="">Today's Topics:<br class=""><br class=""> &nbsp;&nbsp;1. Re: Build error, bootstrap.py (Billy Poon)<br class=""><br class=""><br class="">----------------------------------------------------------------------<br class=""><br class="">Message: 1<br class="">Date: Mon, 20 Mar 2017 12:38:31 -0700<br class="">From: Billy Poon &lt;bkpoon@lbl.gov&gt;<br class="">To: cctbx mailing list &lt;cctbxbb@phenix-online.org&gt;<br class="">Subject: Re: [cctbxbb] Build error, bootstrap.py<br class="">Message-ID:<br class=""><span class="Apple-tab-span" style="white-space:pre">        </span>&lt;CAHmYUcY2oJp=D9w_de=S++fn4D9rzanB+zFtqU8ME9OgWmSu-Q@mail.gmail.com&gt;<br class="">Content-Type: text/plain; charset="utf-8"<br class=""><br class="">Hi Allan,<br class=""><br class="">Your command should have installed the hdf5 dependency among the other<br class="">dependencies. The hdf5 dependency is required because there are functions<br class="">for reading image data. Was there an error in compiling HDF5? There should<br class="">be a log file in &lt;cctbx installation directory&gt;/base_tmp named<br class="">HDF5_install_log.<br class=""><br class="">Are you using a recent version of bootstrap.py? I just tested this on macOS<br class="">10.12.3 with conda 4.3.11 and the command-line tools for Xcode 8.2.1. The<br class="">steps I followed (in a clean directory with just bootstrap.py) are,<br class=""><br class="">1) conda create -n test python=2<br class="">2) source activate test<br class="">3) python bootstrap.py --with-python=`which python` --builder=cctbx<br class="">--nproc=8<br class="">4) cd build; make<br class=""><br class="">The `which python` command in step 3 just returns the path for the python<br class="">in the "test" environment. Step 4 is just to make sure everything is<br class="">compiled.<br class=""><br class="">Let us know if you it still does not work. Thanks!<br class=""><br class="">--<br class="">Billy K. Poon<br class="">Research Scientist, Molecular Biophysics and Integrated Bioimaging<br class="">Lawrence Berkeley National Laboratory<br class="">1 Cyclotron Road, M/S 33R0345<br class="">Berkeley, CA 94720<br class="">Tel: (510) 486-5709<br class="">Fax: (510) 486-5909<br class="">Web: https://phenix-online.org<br class=""><br class="">On Fri, Mar 17, 2017 at 7:27 AM, Allan Lyckegaard &lt;alyckegaard@xnovotech.com<br class=""><blockquote type="cite" class="">wrote:<br class=""></blockquote><br class=""><blockquote type="cite" class="">Hi all,<br class=""><br class="">I am trying to install cctbx on my Mac (Sierra) using bootstrap.py with my<br class="">Anaconda python.<br class=""><br class="">When executing 'python bootstrap.py --with-python=/Users/myuser/<br class="">miniconda2/envs/python2/bin/python --builder=cctbx? I get the following<br class="">error:<br class=""><br class="">/usr/bin/c++ -o dxtbx/format/boost_python/nexus_ext.o -c<br class="">-DBOOST_HAS_INT128=1 -DBOOST_ALL_NO_LIB -DBOOST_PYTHON_MAX_BASES=2 -Wmost<br class="">-Wno-unknown-pragmas -Wno-logical-op-parentheses -Wno-unused-local-typedefs<br class="">-I/Users/myuser/Development/cctbx/modules/boost -fPIC<br class="">-fno-strict-aliasing -Wno-c++0x-extensions -Wno-array-bounds -DNDEBUG -O3<br class="">-ffast-math -I/Users/myuser/miniconda2/envs/python2/include<br class="">-I/Users/myuser/Development/cctbx/base/include<br class="">-I/Users/myuser/Development/cctbx/build/include<br class="">-I/Users/myuser/Development/cctbx/modules/cctbx_project<br class="">-I/Users/myuser/miniconda2/envs/python2/include/python2.7<br class="">/Users/myuser/Development/cctbx/modules/cctbx_project/<br class="">dxtbx/format/boost_python/nexus_ext.cc<br class="">warning: unknown warning option '-Wno-unused-local-typedefs'<br class="">[-Wunknown-warning-option]<br class="">1 warning generated.<br class="">/usr/bin/c++ -o lib/dxtbx_format_nexus_ext.so -w -bundle -undefined<br class="">dynamic_lookup dxtbx/format/boost_python/nexus_ext.o<br class="">-L/Users/myuser/Development/cctbx/base/lib -lm -lhdf5<br class="">ld: library not found for -lhdf5<br class="">clang: error: linker command failed with exit code 1 (use -v to see<br class="">invocation)<br class="">scons: *** [lib/dxtbx_format_nexus_ext.so] Error 1<br class="">scons: building terminated because of errors.<br class="">usr+sys time: 8.69 seconds<br class="">wall clock time: 21.70 seconds<br class="">Process failed with return code 2<br class=""><br class="">Any suggestions to how I solve this? I have not seen anywhere in the<br class="">documentation that an hdf5 installation is a prerequisite.<br class=""><br class="">Cheers,<br class="">/Allan<br class=""><br class=""><br class="">_______________________________________________<br class="">cctbxbb mailing list<br class="">cctbxbb@phenix-online.org<br class="">http://phenix-online.org/mailman/listinfo/cctbxbb<br class=""><br class=""></blockquote>-------------- next part --------------<br class="">An HTML attachment was scrubbed...<br class="">URL: &lt;http://phenix-online.org/pipermail/cctbxbb/attachments/20170320/31a93617/attachment.html&gt;<br class=""><br class="">------------------------------<br class=""><br class="">_______________________________________________<br class="">cctbxbb mailing list<br class="">cctbxbb@phenix-online.org<br class="">http://phenix-online.org/mailman/listinfo/cctbxbb<br class=""><br class=""><br class="">End of cctbxbb Digest, Vol 96, Issue 3<br class="">**************************************<br class=""></div></div></blockquote></div><br class=""></div></body></html>