Ding!
Compiler change
I now need to use clang and stop overriding it to use gcc with --compiler=gcc.
Now appears to work right. Is this correct?
Cheerio,
Graeme
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of [email protected]
Sent: 01 October 2012 10:11
To: [email protected]
Subject: Re: [cctbxbb] Build failing
Ah painful - taking the boost directory from a recent download I get
/Library/Python/2.7/site-packages
Traceback (most recent call last):
File "compare_bpcx_xds.py", line 7, in <module>
from cctbx.array_family import flex
File "/Users/graeme/svn/cctbx/sources/cctbx_project/cctbx/array_family/flex.py", line 2, in <module>
import scitbx.array_family.flex
File "/Users/graeme/svn/cctbx/sources/cctbx_project/scitbx/array_family/flex.py", line 2, in <module>
import boost.optional # import dependency
File "/Users/graeme/svn/cctbx/sources/cctbx_project/boost_adaptbx/boost/optional.py", line 2, in <module>
import boost.python
File "/Users/graeme/svn/cctbx/sources/cctbx_project/boost_adaptbx/boost/python.py", line 57, in <module>
ext = import_ext("boost_python_meta_ext")
File "/Users/graeme/svn/cctbx/sources/cctbx_project/boost_adaptbx/boost/python.py", line 36, in import_ext
+ [" "+p for p in sys.path]))
ImportError: __import__("boost_python_meta_ext"): dlopen(/Users/graeme/svn/cctbx/build/lib/boost_python_meta_ext.so, 2): Symbol not found: std::range_error::~range_error()
still - which is a problem. I specially constructed the base Python for this with extra stuff in :o( which worked just fine until last week.
Have I done something wrong? I have never seen this before. This was the same error I got using the boost from their svn.
Thanks, Graeme
On 1 Oct 2012, at 09:19,
Hi Folks,
I got this compiler with XCode (which is now a pain to get) but it is vanilla so makes making portable code a little easier.
Nat, I pulled the boost sources from their subversion, my build worked but on running I now get errors importing boost_python_meta_ext
I will start from a fresh download, unless you keep boost in your svn tree somewhere I should use?
Thanks,
Graeme
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Nathaniel Echols Sent: 30 September 2012 21:42 To: cctbx mailing list Subject: Re: [cctbxbb] Build failing
On Sat, Sep 29, 2012 at 10:41 AM, William G. Scott
wrote: Graemes-MacBook-Pro:build graeme$ gcc --version gcc (GCC) 4.7.0 20120314 (prerelease)
I can't get cctbx to compile with that compiler, but, oddly, with an uncompiled cctbx, I can get phaser to compile with that compiler (see my open-mp thread).
Where are you getting gcc 4.7 from, fink or somewhere else? We are planning to buy a 4-core Mac Mini to do additional build tests on, since our official support is still stuck at 10.6 and Xcode 3.2, and it might be worthwhile trying the latest gcc as well as the latest Xcode tools (currently clang 4.1, which also appears to have issues).
-Nat _______________________________________________ cctbxbb mailing list [email protected] http://phenix-online.org/mailman/listinfo/cctbxbb
-- This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail. Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd. Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message. Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom
_______________________________________________ cctbxbb mailing list [email protected] http://phenix-online.org/mailman/listinfo/cctbxbb
-- This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail. Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd. Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message. Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom _______________________________________________ cctbxbb mailing list [email protected] http://phenix-online.org/mailman/listinfo/cctbxbb -- This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail. Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd. Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message. Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom