[cctbxbb] Booststrap fails: zlib.h missing on Mojave with Xcode 10.3

richard.gildea at diamond.ac.uk richard.gildea at diamond.ac.uk
Tue Aug 13 06:40:27 PDT 2019

Hi Luc,

Does this help? https://github.com/cctbx/cctbx_project/issues/333

I.e. have you also run:

sudo installer -pkg /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg -target /

See also: https://github.com/cctbx/cctbx_project/issues/240 and https://github.com/cctbx/cctbx_project/pull/334



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: 13 August 2019 14:28:05
To: cctbx mailing list
Subject: [cctbxbb] Booststrap fails: zlib.h missing on Mojave with Xcode 10.3


I am trying to setup a Python 3 cctbx. I did

python bootstrap.py --git-ssh --python3 --builder cctbxlite

But it fails at the installation of OpenSSL. Clang version is "Apple LLVM version 10.0.1 (clang-1001.0.46.4)”. I attached the OpenSSL install log but I don’t see any error in it. And the advice to run xcode-select is bogus: I have it already setup.
Best wishes,


Installing OpenSSL...
  log file is /Users/luc/Developer/cctbx/base_tmp/OpenSSL_install_log
  getting package openssl-1.0.2r.tar.gz...
    downloading from https://gitcdn.link/repo/dials/dependencies/master/openssl-1.0.2r.tar.gz : 5223 kB
  installing openssl-1.0.2r.tar.gz...
  package openssl took 219.5s to install


zlib.h missing -- try running 'xcode-select --install' first
Process failed with return code 1

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