[ 19%] Building CXX object interpreter/llvm/src/lib/TableGen/CMakeFiles/LLVMTableGen.dir/TGLexer.cpp.o
[ 19%] Building CXX object interpreter/llvm/src/lib/TableGen/CMakeFiles/LLVMTableGen.dir/TGParser.cpp.o
[ 19%] Linking CXX static library ../libLLVMTableGen.a
libtool: unrecognized option `-static'
libtool: Try `libtool --help' for more information.
make[2]: *** [interpreter/llvm/src/lib/libLLVMTableGen.a] Error 1
make[1]: *** [interpreter/llvm/src/lib/TableGen/CMakeFiles/LLVMTableGen.dir/all] Error 2
The versions of my compilation are :
gimli:% g++ --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 7.3.0 (clang-703.0.31)
Target: x86_64-apple-darwin16.5.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
gimli:% libtool --version
libtool (GNU libtool) 2.4.2
Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
gimli:% cmake --version
cmake version 3.8.0
CMake suite maintained and supported by Kitware (kitware.com/cmake).
Sorry for the delay (holiday weekend). Here it is:
gimli:% which libtool
/usr/local/bin/libtool
gimli:% libtool --version
libtool (GNU libtool) 2.4.2
Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Thanks a lot! Is there a way to specify this on the ROOT build commands or do I just have to switch the order of /usr/bin and /usr/local bin in the path?