Sorry, I forgot to mention this earlier. I'm on Fedora 22 x86_64, gcc
(GCC) 5.1.1 20150618 (Red Hat 5.1.1-4).
To be certain, I started from scratch, no luck. This is what I did:
$ cd /opt/root
$ git reset --hard v5-34-32
$ cd /opt/root-5
$ rm -rf *
$ cmake -DCMAKE_BUILD_TYPE=DebugFull -Dbuiltin_afterimage=OFF \
-Dbuiltin_ftgl=OFF -Dbuiltin_glew=OFF -Dcxx11=ON -Dtmva=ON \
-Dgsl_shared=ON -Dunuran=ON -Dminuit2=ON -Droofit=ON \
-Dsoversion=ON -Dpython=ON -Dvdt=ON -Dvc=ON /opt/root/
This finishes successfully. But running make gives me:
[ 3%] Building CXX object cint/cint/CMakeFiles/Cint_static.dir/src/dict/libstrm.cxx.o
In file included from /opt/root/cint/cint/src/dict/libstrm.h:37:0,
/opt/root/cint/cint/lib/stream/iostrm.h:24:22: fatal error: iostream.h: No such file or directory
cint/cint/CMakeFiles/Cint_static.dir/build.make:1779: recipe for target 'cint/cint/CMakeFiles/Cint_static.dir/src/dict/libstrm.cxx.o' failed
make: *** [cint/cint/CMakeFiles/Cint_static.dir/src/dict/libstrm.cxx.o] Error 1
CMakeFiles/Makefile2:380: recipe for target 'cint/cint/CMakeFiles/Cint_static.dir/all' failed
Is it because of GCC 5? I'm not sure, but I think this is the first
time I'm trying to compile ROOT with it. Fedora ships with 5.34.30, so
in principle it should be possible.
Thanks for any help.