ROOT Version: root-6.14.04
Platform: MacOS Mojave 10.14
Compiler: CMake 3.14 (no from Homebrew)
Hello,
I was trying to install root on my MAC, avoiding use of Homebrew because of some different package version I need, with this command:
-> cmake ../root-6.14.04 -DPYTHON_EXECUTABLE=/Library/Frameworks/Python.framework/Versions/3.6/bin/python3/ -DPYTHON_INCLUDE_DIR=/Library/Frameworks/Python.framework/Versions/3.6/bin/python3/Headers -DPYTHON_LIBRARY=/Library/Frameworks/Python.framework/Versions/3.6/lib/libpython3.6.dylib -Droofit=ON -Dtmva=ON
(also adding in a second try -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl -DOPENSSL_LIBRARIES=/usr/local/opt/openssl/lib before -DPYTHON)
and after that
->cmake --build .
and I got this error:
--> [ 10%] Performing build step for 'OPENSSL'
CMake Error at MYPATH/myroot/builtins/openssl/OPENSSL-prefix/src/OPENSSL-stamp/OPENSSL-build-RelWithDebInfo.cmake:49 (message):
Command failed: 2
'make' '-j1' 'CC=/Library/Developer/CommandLineTools/usr/bin/cc -fPIC'
This is the output from MYPATH/myroot/builtins/openssl/OPENSSL-prefix/src/OPENSSL-stamp/OPENSSL-build-*.log :slight_smile:
In file included from cryptlib.c:117:
./cryptlib.h:62:11: fatal error: 'stdlib.h' file not found
# include <stdlib.h>
^~~~~~~~~~
1 error generated.
make[4]: *** [cryptlib.o] Error 1
make[3]: *** [build_crypto] Error 1
...skipping...
making all in crypto...