I need to install root 5.24

Hi!
In order to use some particular analysis code I need to install root 5.24. I downloaded the source, I made
./configure and make, but I had an error saying than pid_t and uint64_t were already declared. I modified the file root/cint/cint/include/sys/types.h :

#ifndef G__SYSTYPES_H
#define G__SYSTYPES_H
typedef int pid_t;
//typedef unsigned int pid_t;
typedef void* ptr_t;
typedef unsigned long dev_t;
typedef unsigned int gid_t;
typedef unsigned int uid_t;
typedef unsigned int mode_t;
typedef long off_t;
typedef unsigned long ino_t;
typedef unsigned long nlink_t;
typedef unsigned short ushort;
typedef int key_t;
//typedef long long int64_t;
typedef unsigned long long uint64_t;
#endif

then, I configured and compile again, but now I have the following error:

tmva/src/G__TMVA.cxx:166:18: error: 'DecisionTreeNode' was not declared in this scope
tmva/src/G__TMVA.cxx:166:36: error: template argument 1 is invalid
tmva/src/G__TMVA.cxx:166:36: error: template argument 2 is invalid
tmva/src/G__TMVA.cxx: In function 'int G__G__TMVA_367_0_3(G__value*, const char*, G__param*, int)':
tmva/src/G__TMVA.cxx:16071:124: error: 'Event' was not declared in this scope
tmva/src/G__TMVA.cxx:16071:130: error: template argument 1 is invalid
tmva/src/G__TMVA.cxx:16071:130: error: template argument 2 is invalid
tmva/src/G__TMVA.cxx:16071:132: error: expected primary-expression before ')' token
tmva/src/G__TMVA.cxx: In function 'int G__G__TMVA_599_0_14(G__value*, const char*, G__param*, int)':
tmva/src/G__TMVA.cxx:28087:102: error: 'Event' was not declared in this scope
tmva/src/G__TMVA.cxx:28087:108: error: template argument 1 is invalid
tmva/src/G__TMVA.cxx:28087:108: error: template argument 2 is invalid
tmva/src/G__TMVA.cxx:28087:110: error: expected primary-expression before ')' token
tmva/src/G__TMVA.cxx:28087:112: error: expected ')' before 'G__int'
make: *** [tmva/src/G__TMVA.o] Error 1

What can I do? I’m trying to install it on Slackware 13.37 x86_64 with gcc 4.5.2

I will appreciate any help!
Thanks

Hi

If you do not need TMVA, disable it when configure root (./configure … --disable-tmva)

Cheers,
Philippe.

Thanks,
actually I disabled all the modules that were not compiling and it worked.