Dear all, Recently, I download CCP4-6.4.0 source code from http://www.ccp4.ac.uk/download/#os=mac. Following the instruction, tcltk84, qt4, boost, python, cmake, zlib, libpng, openssl were built successfully.
Also ./build bzr, and ./update work fine. gcc version in my Mac OS X 10.8.5 is as below. Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn) Target: x86_64-apple-darwin12.5.0 Thread model: posix However during ./build ccp4-osx Error message appeared as below. *** Skipping pkgconf (package and dependencies not updated) *** [1/74] *** Skipping freetype2 (package and dependencies not updated) *** [2/74] *** Skipping tcltk84 (package and dependencies not updated) *** [3/74] *** Skipping ccp4-core (package and dependencies not updated) *** [4/74] *** Skipping mmdb (package and dependencies not updated) *** [5/74] *** Configuring libccp4 *** [6/74] /Users/dhwu/Downloads/ccp4-src-6.4.0/checkout/libccp4/configure --prefix /Users/dhwu/Downloads/ccp4-src-6.4.0/ccp4-6.4.0 --libdir '/Users/dhwu/Downloads/ccp4-src-6.4.0/ccp4-6.4.0/lib' --datadir=/Users/dhwu/Downloads/ccp4-src-6.4.0/ccp4-6.4.0/lib/data --enable-silent-rules --enable-shared --disable-static checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /Users/dhwu/Downloads/ccp4-src-6.4.0/checkout/libccp4/build-aux/install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for style of include used by make... GNU checking for gcc... gcc-4.2.1 checking whether the C compiler works... no configure: error: in `/Users/dhwu/Downloads/ccp4-src-6.4.0/builddir/libccp4': configure: error: C compiler cannot create executables See `config.log' for more details *** Error during phase configure of libccp4: ########## Error running /Users/dhwu/Downloads/ccp4-src-6.4.0/checkout/libccp4/configure --prefix /Users/dhwu/Downloads/ccp4-src-6.4.0/ccp4-6.4.0 --libdir '/Users/dhwu/Downloads/ccp4-src-6.4.0/ccp4-6.4.0/lib' --datadir=/Users/dhwu/Downloads/ccp4-src-6.4.0/ccp4-6.4.0/lib/data --enable-silent-rules --enable-shared --disable-static *** [6/74] Can anyone help me solve this error message? Thanks a lot ahead for your input. Best, Donghui
