[cctbxbb] Problems building scitbx.random

Ralf Grosse-Kunstleve rwgrosse-kunstleve at lbl.gov
Fri Nov 25 14:07:48 PST 2011


Hi Marten,

This appears to be a bug that is triggered only if you have PyQt4. Could
you try a local workaround? Edit

cctbx_project/crys3d/libtbx_refresh.py

and comment out all lines. Then run the libtbx/configure.py command again,
followed by make.

Hope this works for you until we have a proper fix.

Ralf


2011/11/25 Jan Marten Simons <marten at xtal.rwth-aachen.de>

> 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/trunkcctbx_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
> _______________________________________________
> cctbxbb mailing list
> cctbxbb at phenix-online.org
> http://phenix-online.org/mailman/listinfo/cctbxbb
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://phenix-online.org/pipermail/cctbxbb/attachments/20111125/6f4351ae/attachment.htm>


More information about the cctbxbb mailing list