ROOT 5.23/04 on SLC5

Hello ROOTers, probably this is a FAQ but quickly googling/searching on the forum did not bring up sth. I have standard CERN installation of SLC5 IA32. ROOT 5.23/04 configures without error but early in the make I get the following two:

cp proof/proofx/inc/TXUnixSocket.h include/TXUnixSocket.h
gcc -O2 -pipe -m32 -Wall -W -fPIC -Iinclude -pthread -DINCLUDEDIR="/usr/include" -DOBJSUFFIX=".o" -o build/rmkdepend/cppsetup.o -c build/rmkdepend/cppsetup.c
gcc -O2 -pipe -m32 -Wall -W -fPIC -Iinclude -pthread -DINCLUDEDIR="/usr/include" -DOBJSUFFIX=".o" -o build/rmkdepend/ifparser.o -c build/rmkdepend/ifparser.c
gcc -O2 -pipe -m32 -Wall -W -fPIC -Iinclude -pthread -DINCLUDEDIR="/usr/include" -DOBJSUFFIX=".o" -o build/rmkdepend/include.o -c build/rmkdepend/include.c
gcc -O2 -pipe -m32 -Wall -W -fPIC -Iinclude -pthread -DINCLUDEDIR="/usr/include" -DOBJSUFFIX=".o" -o build/rmkdepend/main.o -c build/rmkdepend/main.c
gcc -O2 -pipe -m32 -Wall -W -fPIC -Iinclude -pthread -DINCLUDEDIR="/usr/include" -DOBJSUFFIX=".o" -o build/rmkdepend/parse.o -c build/rmkdepend/parse.c
gcc -O2 -pipe -m32 -Wall -W -fPIC -Iinclude -pthread -DINCLUDEDIR="/usr/include" -DOBJSUFFIX=".o" -o build/rmkdepend/pr.o -c build/rmkdepend/pr.c
g++ -O2 -pipe -m32 -Wall -W -Woverloaded-virtual -fPIC -Iinclude -pthread -DINCLUDEDIR="/usr/include" -DOBJSUFFIX=".o" -o build/rmkdepend/mainroot.o -c build/rmkdepend/mainroot.cxx
In file included from /usr/include/bits/posix1_lim.h:153,
from /usr/include/limits.h:145,
from /usr/lib/gcc/i386-redhat-linux/4.1.2/include/limits.h:122,
from /usr/lib/gcc/i386-redhat-linux/4.1.2/include/syslimits.h:7,
from /usr/lib/gcc/i386-redhat-linux/4.1.2/include/limits.h:11,
from /usr/lib/gcc/i386-redhat-linux/4.1.2/…/…/…/…/include/c++/4.1.2/climits:50,
from /usr/lib/gcc/i386-redhat-linux/4.1.2/…/…/…/…/include/c++/4.1.2/bits/stl_algobase.h:66,
from /usr/lib/gcc/i386-redhat-linux/4.1.2/…/…/…/…/include/c++/4.1.2/bits/char_traits.h:46,
from /usr/lib/gcc/i386-redhat-linux/4.1.2/…/…/…/…/include/c++/4.1.2/string:46,
from build/rmkdepend/mainroot.cxx:28:
/usr/include/bits/local_lim.h:36:26: error: linux/limits.h: No such file or directory
checking for a BSD-compatible install… /usr/bin/install -c

AND a little bit later:

checking dependency style of g++… gcc3
checking how to run the C preprocessor… /lib/cpp
configure: error: C preprocessor “/lib/cpp” fails sanity check
See `config.log’ for more details.
Running build/unix/compiledata.sh
Making include/compiledata.h
bin/rmkdepend -R -fcint/cint/src/g__cfunc.d -Y -w 1000 – -pipe -m32 -Wall -W -fPIC -Iinclude -DG__REGEXP -DG__UNIX -DG__SHAREDLIB -DG__OSFDLL -DG__ROOT -DG__REDIRECTIO -DG__STD_EXCEPTION -DG__HAVE_CONFIG -DG__NOMAKEINFO -DG__CINTBODY -Icint/cint/inc -Icint/cint/src -Icint/cint/src/dict -pthread -I. – cint/cint/src/g__cfunc.c
make: bin/rmkdepend: Command not found
make: *** [cint/cint/src/g__cfunc.o] Error 127

Any idea of the additional packages of SLC5 that should be installed? Is there maybe another problem? Thanks,
filimon

The missing file is part of the package:

kernel-headers-2.6.18-128.1.6.el5.x86_64

make sure it is installed.

Cheers, Fons.

Thanks Fons, this works indeed. cheers,
filimon