Hi Marten,<div><br></div><div>This appears to be a bug that is triggered only if you have PyQt4. Could you try a local workaround? Edit</div><div><br></div><div>cctbx_project/crys3d/libtbx_refresh.py</div><div><br></div><div>
and comment out all lines. Then run the libtbx/configure.py command again, followed by make.</div><div><br></div><div>Hope this works for you until we have a proper fix.</div><div><br></div><div>Ralf</div><div><br></div><div>
<br><div class="gmail_quote">2011/11/25 Jan Marten Simons <span dir="ltr">&lt;<a href="mailto:marten@xtal.rwth-aachen.de">marten@xtal.rwth-aachen.de</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi,<br>
<br>
<br>
After doing a fresh checkout with these commands:<br>
<br>
&gt; #! /bin/csh -fe<br>
&gt; set verbose<br>
&gt; curl <a href="http://cci.lbl.gov/cctbx_build/results/current/cctbx_bundle.selfx" target="_blank">http://cci.lbl.gov/cctbx_build/results/current/cctbx_bundle.selfx</a> -o<br>
cctbx_bundle.selfx<br>
&gt; perl cctbx_bundle.selfx 0<br>
&gt; rm cctbx_bundle.selfx<br>
&gt; rm cctbx_install_script.csh<br>
&gt; mv cctbx_sources sources<br>
&gt; cd sources<br>
&gt; svn co <a href="https://cctbx.svn.sourceforge.net/svnroot/cctbx/trunk" target="_blank">https://cctbx.svn.sourceforge.net/svnroot/cctbx/trunk</a> cctbx_project<br>
&gt; cctbx_project/libtbx/development/move_obsolete_from_bundle.csh<br>
<br>
And using these commands to configue and build cctbx:<br>
<br>
&gt; mkdir -p build<br>
&gt; cd build<br>
&gt; python ../sources/cctbx_project/libtbx/configure.py --<br>
enable_openmp_if_possible=True --scan_boost --build=release boost_adaptbx<br>
cctbx chiltbx crys3d iotbx mmtbx rstbx ucif smtbx clipper_adaptbx fable scitbx<br>
&gt; source setpaths.sh<br>
&gt; make || ( echo &quot;Make failed!&quot;; exit 1 )<br>
<br>
I encounter these errors:<br>
<br>
Processing: &quot;/home/mu/cctbx/cctbx-<br>
dev/sources/cctbx_project/crys3d/libtbx_refresh.py&quot;<br>
Traceback (most recent call last):<br>
  File &quot;../sources/cctbx_project/libtbx/configure.py&quot;, line 21, in &lt;module&gt;<br>
    run()<br>
  File &quot;../sources/cctbx_project/libtbx/configure.py&quot;, line 17, in run<br>
    libtbx.env_config.cold_start(sys.argv)<br>
  File &quot;/home/marten/cctbx/cctbx-<br>
dev/sources/cctbx_project/libtbx/env_config.py&quot;, line 2061, in cold_start<br>
    env.refresh()<br>
  File &quot;/home/mu/cctbx/cctbx-dev/sources/cctbx_project/libtbx/env_config.py&quot;,<br>
line 1401, in refresh<br>
    module.process_libtbx_refresh_py()<br>
  File &quot;/home/mu/cctbx/cctbx-dev/sources/cctbx_project/libtbx/env_config.py&quot;,<br>
line 1678, in process_libtbx_refresh_py<br>
    execfile(abs(custom_refresh), {}, {&quot;self&quot;: self})<br>
  File &quot;/home/mu/cctbx/cctbx-<br>
dev/sources/cctbx_project/crys3d/libtbx_refresh.py&quot;, line 3, in &lt;module&gt;<br>
    from crys3d import qttbx<br>
  File &quot;/home/mu/cctbx/cctbx-<br>
dev/sources/cctbx_project/crys3d/qttbx/__init__.py&quot;, line 4, in &lt;module&gt;<br>
    import gltbx.util<br>
  File &quot;/home/mu/cctbx/cctbx-dev/sources/cctbx_project/gltbx/util.py&quot;, line 1,<br>
in &lt;module&gt;<br>
    import scitbx.array_family.flex # import dependency<br>
  File &quot;/home/mu/cctbx/cctbx-<br>
dev/sources/cctbx_project/scitbx/array_family/flex.py&quot;, line 10, in &lt;module&gt;<br>
    import scitbx.random<br>
  File &quot;/home/mu/cctbx/cctbx-<br>
dev/sources/cctbx_project/scitbx/random/__init__.py&quot;, line 24, in &lt;module&gt;<br>
    mt19937 = mersenne_twister_19937(value=get_random_seed())<br>
NameError: name &#39;mersenne_twister_19937&#39; is not defined<br>
<br>
To me these look like scitbx.random-ext is not built. Is this a regression<br>
from the changes to the build system or am I doining something wrong here?<br>
<br>
Cheers,<br>
Jan<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" target="_blank">http://phenix-online.org/mailman/listinfo/cctbxbb</a><br>
</blockquote></div><br></div>