Possible to compile 5.24 with gcc 4.6?

Hello,

We have a user request to install Root 5.24 on our cluster. Our build environment by default uses gcc 4.6. When I try to compile 5.24 I’m getting a lot of

and other similar errors.

What is the simplest solution for this? Is it even possible to compile 5.24 with gcc 4.6?

I’ve managed to work around this by adding

…I’ve since worked through it seems over a dozen various errors. The current one is:

Overall, I’m wondering if Root 5.24 with gcc 4.6 is even doable at all.

Has anyone successfully compiled 5.24 with gcc 4.6, or is this a lost cause?

Hi,

Well, all I can tell is that 5.24 is quite old (4 years) and it was building fine with gcc4.3.
Note you can still disable failing packages (e.g. configure --disable-xrootd)

Cheers, Bertrand.

[quote=“bellenot”]Well, all I can tell is that 5.24 is quite old (4 years) and it was building fine with gcc4.3.
Note you can still disable failing packages (e.g. configure --disable-xrootd)[/quote]
I appreciate your response. Yes, users insisting on old versions always makes our lives, shall we say, more interesting!

I’ll have to check to see if the said package is needed. Hopefully not so I can just drop it during compile.

Merry Christmas and a Happy New Year!

[quote=“talbit”]Merry Christmas and a Happy New Year![/quote]Thanks! Likewise!

Cheers, Bertrand.