For reasons beyond my control, I need to compile ROOT5 on a machine recently updated to Fedora28. To get the source code, I’m using GitHub with the branch switched from master to v5-34-36.
The ‘cmake’ configure works fine (I am not using any extra options, and I’m pretty sure I have all of the required packages), but then ‘make’ dies at about 30%. I’m assuming the gcc compiler is too new.
Is there an easy way to switch to an older gcc compiler?
If anyone has any advice, please pass it along. Thanks.
P.S. ROOT6 compiles just fine, but the code I’m required to use needs ROOT5.
Thanks, but that didn’t work. It crapped out on some mysql stuff. Couldn’t find “my_global.h”, but I thought I had installed all of the required packages.
It is an issue that CINT does not support std::atomic and other ‘newer’ entities. You need to either downgrade your compiler or move to ROOT v6. [Alternatively you might be able to specify explicitly to have the compiler use the old C++ standard (C++98)]