I am trying to compile ROOT-6.06.04 with GCC-6.1.0 under CentOS-6.5 using cmake-3.5.2.
The commands I execute are the following:
The “cmake” command fails with the following error:
Could you please let me know if I am doing something wrong or it is a bug?
Hello. What is your version of gcc or LLVM?
That’s weird. Could you post the full output of the CMake configuration?
Thank you for your reply, Axel!
I think, I understand the problem now: it is not enough to put gcc and other compile tools into the $PATH. I need to explicitly specify them to cmake:
cmake -DCMAKE_CXX_COMPILER=$HOME/bin/gcc-6.1.0/bin/g++ -DCMAKE_C_COMPILER=$HOME/bin/gcc-6.1.0/bin/gcc -DCMAKE_Fortran_COMPILER=$HOME/bin/gcc-6.1.0/bin/gfortran -Dcxx11=ON ...
But then with gcc-6.1.0 I get the following error:
I parallel, I am compiling with gcc-4.9.3 as well. So far it is making progress.
Thanks. Sounds like bug; I have created sft.its.cern.ch/jira/browse/ROOT-8184
You can disable xrootd in the cmake config if you don’t need it.