[cctbxbb] Problems building scitbx.random

Jan Marten Simons marten at xtal.rwth-aachen.de
Fri Nov 25 08:06:32 PST 2011


Hi,


After doing a fresh checkout with these commands:

> #! /bin/csh -fe
> set verbose
> curl http://cci.lbl.gov/cctbx_build/results/current/cctbx_bundle.selfx -o 
cctbx_bundle.selfx
> perl cctbx_bundle.selfx 0
> rm cctbx_bundle.selfx
> rm cctbx_install_script.csh
> mv cctbx_sources sources
> cd sources
> svn co https://cctbx.svn.sourceforge.net/svnroot/cctbx/trunk cctbx_project
> cctbx_project/libtbx/development/move_obsolete_from_bundle.csh

And using these commands to configue and build cctbx:

> mkdir -p build
> cd build
> python ../sources/cctbx_project/libtbx/configure.py --
enable_openmp_if_possible=True --scan_boost --build=release boost_adaptbx 
cctbx chiltbx crys3d iotbx mmtbx rstbx ucif smtbx clipper_adaptbx fable scitbx 
> source setpaths.sh
> make || ( echo "Make failed!"; exit 1 )

I encounter these errors:

Processing: "/home/mu/cctbx/cctbx-
dev/sources/cctbx_project/crys3d/libtbx_refresh.py"
Traceback (most recent call last):
  File "../sources/cctbx_project/libtbx/configure.py", line 21, in <module>
    run()
  File "../sources/cctbx_project/libtbx/configure.py", line 17, in run
    libtbx.env_config.cold_start(sys.argv)
  File "/home/marten/cctbx/cctbx-
dev/sources/cctbx_project/libtbx/env_config.py", line 2061, in cold_start
    env.refresh()
  File "/home/mu/cctbx/cctbx-dev/sources/cctbx_project/libtbx/env_config.py", 
line 1401, in refresh
    module.process_libtbx_refresh_py()
  File "/home/mu/cctbx/cctbx-dev/sources/cctbx_project/libtbx/env_config.py", 
line 1678, in process_libtbx_refresh_py
    execfile(abs(custom_refresh), {}, {"self": self})
  File "/home/mu/cctbx/cctbx-
dev/sources/cctbx_project/crys3d/libtbx_refresh.py", line 3, in <module>
    from crys3d import qttbx
  File "/home/mu/cctbx/cctbx-
dev/sources/cctbx_project/crys3d/qttbx/__init__.py", line 4, in <module>
    import gltbx.util
  File "/home/mu/cctbx/cctbx-dev/sources/cctbx_project/gltbx/util.py", line 1, 
in <module>
    import scitbx.array_family.flex # import dependency
  File "/home/mu/cctbx/cctbx-
dev/sources/cctbx_project/scitbx/array_family/flex.py", line 10, in <module>
    import scitbx.random
  File "/home/mu/cctbx/cctbx-
dev/sources/cctbx_project/scitbx/random/__init__.py", line 24, in <module>
    mt19937 = mersenne_twister_19937(value=get_random_seed())
NameError: name 'mersenne_twister_19937' is not defined

To me these look like scitbx.random-ext is not built. Is this a regression 
from the changes to the build system or am I doining something wrong here?

Cheers,
Jan


More information about the cctbxbb mailing list