ROOT 5.22 on SLC5

Hi,

I was just trying to use ROOT 5.22 on the lx64slc5 machines at CERN. If I set up my environment to use ROOT from:

then everything seems to work. (I can compile and run my application.) However if I try to use ROOT from:

(Different GCC version…) I get the following error from rootcint at compilation:

I realised that I’m actually using GCC 4.1.2 by default under SLC5. So why is ROOT only available with these two GCC versions? How should I set up my environment to use GCC 4.3?

Cheers and Happy Holidays!

           Attila

Hi,

Because these are the only two officially supported versions of gcc… (not a ROOT team decision)

by using one of the script available at /afs/cern.ch/sw/lcg/contrib/gcc/4.3.2/i686-slc5-gcc43-opt/setup.sh

Cheers,
Bertrand.