Problem of cmake files: gcc 4.6.3 + ROOT v5.32.03

Dear experts,
I am trying to install ROOT v5.32.03 using cmake on ubuntu 12.04 LTS.
I can install it successfully with configure and make. However when I use cmake to install it,
it shows the following error message when I issue “make” after the makefile is generated:
…/root-5.32.03/cint/cint/lib/stream/iostrm.h:24:22: fatal error: iostream.h: No such file or directory
compilation terminated.
Version infos:
gcc/g++ 4.6.3
cmake 2.8.7

With google, I found that Brett reported the same problem in the maillist,
and Fons replied Brett:
root.cern.ch/root/roottalk/roottalk12/0305.html
So, it must be some problem with the cmake file.

The following is the beginning part of the log of cmake :
– The C compiler identification is GNU
– The CXX compiler identification is GNU
– Check for working C compiler: /usr/bin/gcc
– Check for working C compiler: /usr/bin/gcc – works
– Detecting C compiler ABI info
– Detecting C compiler ABI info - done
– Check for working CXX compiler: /usr/bin/c++
– Check for working CXX compiler: /usr/bin/c++ – works
– Detecting CXX compiler ABI info
– Detecting CXX compiler ABI info - done
– The Fortran compiler identification is GNU
– Check for working Fortran compiler: /usr/bin/gfortran
– Check for working Fortran compiler: /usr/bin/gfortran – works
– Detecting Fortran compiler ABI info
– Detecting Fortran compiler ABI info - done
– Checking whether /usr/bin/gfortran supports Fortran 90
– Checking whether /usr/bin/gfortran supports Fortran 90 – yes
– Found GCC. Major version 4.6, minor version 4.6
– CMAKE_BUILD_TYPE: Debug
– Looking for include files CMAKE_HAVE_PTHREAD_H
– Looking for include files CMAKE_HAVE_PTHREAD_H - found
– Looking for pthread_create in pthreads
– Looking for pthread_create in pthreads - not found
– Looking for pthread_create in pthread
– Looking for pthread_create in pthread - found
– Found Threads: TRUE
– Found a 32bit system
– Found GNU compiler collection
– ROOT Platform: linux
– ROOT Architecture: linux
– Build Type: Debug
– Compiler Flags: -pipe -m32 -Wall -W -Woverloaded-virtual -fPIC

Cheers,
Zhenwei Yang

Hi,

Can you try with v5.34 (which is the first one to really support ubuntu 11 and higher)

Cheers,
Philippe.