At CHEP, I heard from several people that it is possible to build ROOT6 on RHEL6, which would be great as my institution still has most interactive Linux nodes running this OS. And our batch farm nodes use this as well.
I have tried to get this working in the past with a devtoolset but it failed mysteriously during the build, and a ROOT expert told me that ROOT6 is not compatible with the devtoolset environments.
So I’m wondering, is it possible to build ROOT6 on RHEL6, and if so, how would I go about doing it?
I know you cannot build using the default gcc as it is too old and does not support C+±11.
RedHat (and by extension CentOS/SL) supply a Software Collection (set of rpms) called “devtoolset” which supplies newer GCC/binutils and a range of other useful development/debugging tools. The main guide and install instructions are here:
Whilst installing rpms will require root privileges, the above repos are official and maintained, so it shouldn’t be an issue to get the sysadmins to install them!