Skip to content

Instantly share code, notes, and snippets.

@lars20070
Created November 30, 2017 15:30
Show Gist options
  • Save lars20070/30123377d3303722be17ae9fd44cae49 to your computer and use it in GitHub Desktop.
Save lars20070/30123377d3303722be17ae9fd44cae49 to your computer and use it in GitHub Desktop.
cmake -DBUILD_TYPE=COINOR ../contrib
immz1179:contrib-build lars$ cmake -DBUILD_TYPE=COINOR ../contrib
-- The C compiler identification is AppleClang 9.0.0.9000038
-- The CXX compiler identification is AppleClang 9.0.0.9000038
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- ADDRESSMODEL IS: 64 bit
-- Sysroot for OSX was set to /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk. Adding the following flags whenever possible/needed:
-- --sysroot=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk
-- BUILD_TYPE: COINOR (one of: ALL;SEQAN;LIBSVM;XERCESC;BOOST;COINOR;BZIP2;ZLIB;GLPK;EIGEN;WILDMAGIC;SQLITE;KISSFFT)
-- FORCE_REBUILD: OFF
-- NUMBER_OF_JOBS: 2 (maximal number of concurrent compile jobs)
-- Downloading COINOR ..
-- Downloading COINOR .. skipped (already downloaded)
-- Validating archive for COINOR ..
-- Validating archive for COINOR .. done
-- Extracting COINOR ..
-- Extracting COINOR .. skipped (already exists)
-- Patching /Users/lars/Code/contrib-build/src/CoinMP-1.8.3/CoinUtils/configure ... skipped (already applied)
-- Patching /Users/lars/Code/contrib-build/src/CoinMP-1.8.3/Clp/configure ... skipped (already applied)
-- Configure COIN-OR library (./configure -C --prefix=/Users/lars/Code/contrib-build --enable-static=yes --enable-shared=no --with-lapack=no --with-blas=no ADD_FFLAGS='' ADD_CFLAGS='' ADD_CXXFLAGS=' -fPIC' --disable-dependency-tracking CXX=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ CC=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc)
-- Configure COIN-OR library (./configure -C --prefix=/Users/lars/Code/contrib-build --enable-static=yes --enable-shared=no --with-lapack=no --with-blas=no ADD_FFLAGS='' ADD_CFLAGS='' ADD_CXXFLAGS=' -fPIC' --disable-dependency-tracking CXX=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ CC=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc) .. failed
CMake Error at libraries.cmake/coinor.cmake:144 (message):
configure: loading cache config.cache
checking for egrep... (cached) grep -E
checking whether ln -s works... yes
checking for a BSD-compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... (cached) awk
checking whether make sets $(MAKE)... (cached) yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether source of project Sample is available and should be
compiled... yes, source in Data/Sample
checking whether source of project CoinUtils is available and should be
compiled... yes, source in CoinUtils
checking whether source of project Osi is available and should be
compiled... yes, source in Osi
checking whether source of project Clp is available and should be
compiled... yes, source in Clp
checking whether source of project Cgl is available and should be
compiled... yes, source in Cgl
checking whether source of project Cbc is available and should be
compiled... yes, source in Cbc
checking whether source of project CoinMP is available and should be
compiled... yes, source in CoinMP
checking which command should be used to link input files... ln -s
configure: creating ./config.status
config.status: creating Makefile
configure: configuring in Data/Sample
configure: running /bin/sh './configure'
--prefix=/Users/lars/Code/contrib-build '-C'
'--prefix=/Users/lars/Code/contrib-build' '--enable-static=yes'
'--enable-shared=no' '--with-lapack=no' '--with-blas=no' 'ADD_FFLAGS='
'ADD_CFLAGS=' 'ADD_CXXFLAGS= -fPIC' '--disable-dependency-tracking'
'CXX=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++'
'CC=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc'
--cache-file=../../config.cache --srcdir=.
configure: loading cache ../../config.cache
checking for svnversion... (cached) yes
checking for egrep... (cached) grep -E
checking whether ln -s works... yes
checking for a BSD-compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... (cached) awk
checking whether make sets $(MAKE)... (cached) yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether this is a VPATH configuration... no
checking build system type... (cached) i386-apple-darwin17.2.0
checking which command should be used to link input files... ln -s
configure: creating ./config.status
config.status: creating Makefile
config.status: creating coindatasample.pc
config.status: creating coindatasample-uninstalled.pc
configure: In case of trouble, first consult the troubleshooting page at
https://projects.coin-or.org/BuildTools/wiki/user-troubleshooting
configure: Configuration of DataSample successful
configure: configuring in CoinUtils
configure: running /bin/sh './configure'
--prefix=/Users/lars/Code/contrib-build '-C'
'--prefix=/Users/lars/Code/contrib-build' '--enable-static=yes'
'--enable-shared=no' '--with-lapack=no' '--with-blas=no' 'ADD_FFLAGS='
'ADD_CFLAGS=' 'ADD_CXXFLAGS= -fPIC' '--disable-dependency-tracking'
'CXX=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++'
'CC=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc'
--cache-file=../config.cache --srcdir=.
configure: loading cache ../config.cache
checking build system type... (cached) i386-apple-darwin17.2.0
checking for svnversion... (cached) yes
checking whether we want to compile in debug mode... no
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
accepts -g... yes
checking for
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
option to accept ANSI C... none needed
configure: C compiler options are: -O3 -pipe -DNDEBUG -Wimplicit
-Wparentheses -Wsequence-point -Wreturn-type -Wcast-qual -Wall
-Wno-unknown-pragmas -Wno-long-long -DCOINUTILS_BUILD
checking whether we are using the GNU C++ compiler... yes
checking whether
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
accepts -g... yes
checking whether C++ compiler
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
works... yes
configure: C++ compiler options are: -O3 -pipe -DNDEBUG -Wparentheses
-Wreturn-type -Wcast-qual -Wall -Wpointer-arith -Wwrite-strings
-Wconversion -Wno-unknown-pragmas -Wno-long-long -fPIC -DCOINUTILS_BUILD
configure: Trying to determine Fortran compiler name
checking for xlf_r... no
checking for fort77... no
checking for gfortran... no
checking for ifort... no
checking for g95... no
checking for f77... no
checking for g77... no
checking for pgf90... no
checking for pgf77... no
checking for ifc... no
checking for frt... no
checking for af77... no
configure: WARNING: Failed to find a Fortran compiler!
configure: Fortran compiler options are:
checking for egrep... (cached) grep -E
checking whether ln -s works... yes
checking for a BSD-compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... (cached) awk
checking whether make sets $(MAKE)... (cached) yes
checking for style of include used by make... GNU
checking dependency style of
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc...
none
checking dependency style of
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++...
none
checking whether to enable maintainer-specific portions of Makefiles... no
checking host system type... i386-apple-darwin17.2.0
checking for a sed that does not truncate output... /usr/bin/sed
checking for ld used by
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc...
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
checking if the linker
(/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld)
is GNU ld... no
checking for
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor...
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-E
checking for ANSI C header files... no
checking for sys/types.h... no
checking for sys/stat.h... no
checking for stdlib.h... no
checking for string.h... no
checking for memory.h... no
checking for strings.h... no
checking for inttypes.h... no
checking for stdint.h... no
checking for unistd.h... no
checking dlfcn.h usability... no
checking dlfcn.h presence... no
checking for dlfcn.h... no
checking how to run the C++ preprocessor...
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-E
checking the maximum length of command line arguments... 196608
checking command to parse /usr/bin/nm -B output from
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
supports -fno-rtti -fno-exceptions... yes
checking for
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
option to produce PIC... -fno-common
checking if
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
PIC flag -fno-common works... yes
checking if
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
static flag -static works... no
checking if
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
supports -c -o file.o... yes
checking whether the
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
linker
(/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld)
supports shared libraries... yes
checking dynamic linker characteristics... darwin17.2.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++...
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
checking if the linker
(/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld)
is GNU ld... no
checking whether the
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
linker
(/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld)
supports shared libraries... yes
checking for
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
option to produce PIC... -fno-common
checking if
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
PIC flag -fno-common works... yes
checking if
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
static flag -static works... no
checking if
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
supports -c -o file.o... yes
checking whether the
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
linker
(/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld)
supports shared libraries... yes
checking dynamic linker characteristics... darwin17.2.0 dyld
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for unavailable option to produce PIC... -fno-common
checking if unavailable PIC flag -fno-common works... no
checking if unavailable static flag -static works... no
checking if unavailable supports -c -o file.o... no
checking whether the unavailable linker
(/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld)
supports shared libraries... yes
checking dynamic linker characteristics... ./configure: line 17532:
unavailable: command not found
./configure: line 17703: unavailable: command not found
darwin17.2.0 dyld
checking how to hardcode library paths into programs... immediate
configure: Build is "i386-apple-darwin17.2.0".
configure: Applying patches to libtool for Darwin
checking if library version is set... 13:10:10
checking cmath usability... no
checking cmath presence... no
checking for cmath... no
checking math.h usability... no
checking math.h presence... no
checking for math.h... no
checking cfloat usability... no
checking cfloat presence... yes
configure: WARNING: cfloat: present but cannot be compiled
configure: WARNING: cfloat: check for missing prerequisite headers?
configure: WARNING: cfloat: see the Autoconf documentation
configure: WARNING: cfloat: section "Present But Cannot Be Compiled"
configure: WARNING: cfloat: proceeding with the preprocessor's result
configure: WARNING: cfloat: in the future, the compiler will take
precedence
configure: WARNING: ## ----------------------------------------------------
##
configure: WARNING: ## Report this to http://projects.coin-or.org/CoinUtils
##
configure: WARNING: ## ----------------------------------------------------
##
checking for cfloat... yes
checking cieeefp usability... no
checking cieeefp presence... no
checking for cieeefp... no
checking ieeefp.h usability... no
checking ieeefp.h presence... no
checking for ieeefp.h... no
checking whether isfinite is declared... no
checking whether finite is declared... no
checking whether _finite is declared... no
configure: WARNING: Cannot find C-function for checking Inf.
checking for cmath... (cached) no
checking for math.h... (cached) no
checking for cfloat... (cached) yes
checking for cieeefp... (cached) no
checking for ieeefp.h... (cached) no
checking whether isnan is declared... no
checking whether std::isnan(42.42) is declared... no
checking whether _isnan is declared... no
checking whether isnand is declared... no
configure: WARNING: Cannot find C-function for checking NaN.
checking cinttypes usability... no
checking cinttypes presence... no
checking for cinttypes... no
checking for inttypes.h... (cached) no
checking cstdint usability... no
checking cstdint presence... yes
configure: WARNING: cstdint: present but cannot be compiled
configure: WARNING: cstdint: check for missing prerequisite headers?
configure: WARNING: cstdint: see the Autoconf documentation
configure: WARNING: cstdint: section "Present But Cannot Be Compiled"
configure: WARNING: cstdint: proceeding with the preprocessor's result
configure: WARNING: cstdint: in the future, the compiler will take
precedence
configure: WARNING: ## ----------------------------------------------------
##
configure: WARNING: ## Report this to http://projects.coin-or.org/CoinUtils
##
configure: WARNING: ## ----------------------------------------------------
##
checking for cstdint... yes
checking for int64_t... no
checking for long long... no
checking size of long long... 0
checking for long... no
checking size of long... 0
checking for int... no
checking size of int... 0
configure: error: Cannot find integer type with 64 bits
configure: error: /bin/sh './configure' failed for CoinUtils
Call Stack (most recent call first):
CMakeLists.txt:525 (OPENMS_CONTRIB_BUILD_COINOR)
-- Configuring incomplete, errors occurred!
See also "/Users/lars/Code/contrib-build/CMakeFiles/CMakeOutput.log".
immz1179:contrib-build lars$ immz1179:contrib-build lars$ cmake -DBUILD_TYPE=COINOR ../contrib
-bash: immz1179:contrib-build: command not found
immz1179:contrib-build lars$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment