[cctbxbb] Boost broken on mac?

richard.gildea at diamond.ac.uk richard.gildea at diamond.ac.uk
Thu Apr 7 06:21:04 PDT 2016

Hi Luc,

We don't usually see problems with the bootstrap script on mac. What specific command did you run?

As recently as yesterday I ran this successfully:

$ svn export svn://svn.code.sf.net/p/cctbx/code/trunk/libtbx/auto_build/bootstrap.py

$ python bootstrap.py --builder=dials

I am just trying again now (it does take some time to download and build all the Python dependencies). What is the output of 'which python' before you run the bootstrap script? Do you have any peculiarities with your setup on your mac?

You can also try adding the --with-python=/path/to/python option to skip building Python and use the Python you already have.

You may also want to add the options --cciuser=CCIUSER --sfuser=SFUSER --git-ssh to the bootstrap command.



Dr Richard Gildea
Data Analysis Scientist
Tel: +441235 77 8078

Diamond Light Source Ltd.
Diamond House
Harwell Science & Innovation Campus
OX11 0DE
From: cctbxbb-bounces at phenix-online.org [cctbxbb-bounces at phenix-online.org] on behalf of Luc Bourhis [luc_j_bourhis at mac.com]
Sent: 07 April 2016 14:03
To: cctbx mailing list
Subject: Re: [cctbxbb] Boost broken on mac?

There does seem to be something really quite wrong with the latest clang :-(

I would love to give you a hand with dials but the bootstrap.py fails to compile Python. Specifically it fails to compile the Mac toolbox glue:

/System/Library/Frameworks/CoreGraphics.framework/Headers/CGFont.h:53:40: error: initializer element is not constant
 static const CGFontIndex kCGGlyphMax = kCGFontIndexMax;

How did you manage?

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

More information about the cctbxbb mailing list