Problem compiling root-6.02.04

Hi all,

trying and failing to compile root-6.02.04 on a debian system, I use the cmake procedure.
full logs are here:
dropbox.com/s/h8tt0rdp4dgjo … e.log?dl=0
dropbox.com/s/ogd1kjppj2ayl8w/make.log?dl=0

the error I get:

Linking CXX executable …/…/bin/rootcling_tmp
[ 42%] Built target rootcling_tmp
Scanning dependencies of target G__IO
[ 42%] Generating G__IO.cxx, …/…/lib/libRIO.rootmap
input_line_1:1:10: fatal error: ‘new’ file not found
#include
^
Segmentation fault
io/io/CMakeFiles/G__IO.dir/build.make:80: recipe for target ‘io/io/G__IO.cxx’ failed
make[2]: *** [io/io/G__IO.cxx] Error 139
CMakeFiles/Makefile2:15017: recipe for target ‘io/io/CMakeFiles/G__IO.dir/all’ failed
make[1]: *** [io/io/CMakeFiles/G__IO.dir/all] Error 2
Makefile:137: recipe for target ‘all’ failed
make: *** [all] Error 2

This is very strange. It fails because the “new” header file is not found. Typically this comes with the compiler. Can you please verify that “find /usr/include | grep new” does not find it?

Hi,

here is the output of the command you suggested:

/usr/include/c++/4.8/ext/new_allocator.h
/usr/include/c++/4.8/new
/usr/include/c++/4.9/ext/new_allocator.h
/usr/include/c++/4.9/new
/usr/include/c++/4.7/ext/new_allocator.h
/usr/include/c++/4.7/new
/usr/include/c++/4.6/ext/new_allocator.h
/usr/include/c++/4.6/new
/usr/include/c++/4.4/ext/new_allocator.h
/usr/include/c++/4.4/new
/usr/include/boost/iostreams/detail/newline.hpp
/usr/include/boost/iostreams/filter/newline.hpp
/usr/include/boost/type_traits/has_new_operator.hpp
/usr/include/boost/spirit/home/classic/phoenix/new.hpp
/usr/include/boost/spirit/home/phoenix/object/detail/new_eval.hpp
/usr/include/boost/spirit/home/phoenix/object/detail/new.hpp
/usr/include/boost/spirit/home/phoenix/object/new.hpp
/usr/include/boost/spirit/include/phoenix1_new.hpp
/usr/include/boost/graph/detail/read_graphviz_new.hpp
/usr/include/boost/python/manage_new_object.hpp
/usr/include/boost/tr1/tr1/sun/new.SUNWCCh
/usr/include/boost/tr1/tr1/new
/usr/include/boost/iterator/new_iterator_tests.hpp
/usr/include/boost/phoenix/object/detail/preprocessed/new_50.hpp
/usr/include/boost/phoenix/object/detail/preprocessed/new_eval_40.hpp
/usr/include/boost/phoenix/object/detail/preprocessed/new_10.hpp
/usr/include/boost/phoenix/object/detail/preprocessed/new_20.hpp
/usr/include/boost/phoenix/object/detail/preprocessed/new_eval_20.hpp
/usr/include/boost/phoenix/object/detail/preprocessed/new_eval_30.hpp
/usr/include/boost/phoenix/object/detail/preprocessed/new_eval.hpp
/usr/include/boost/phoenix/object/detail/preprocessed/new_40.hpp
/usr/include/boost/phoenix/object/detail/preprocessed/new_eval_50.hpp
/usr/include/boost/phoenix/object/detail/preprocessed/new_eval_10.hpp
/usr/include/boost/phoenix/object/detail/preprocessed/new.hpp
/usr/include/boost/phoenix/object/detail/preprocessed/new_30.hpp
/usr/include/boost/phoenix/object/detail/new_eval.hpp
/usr/include/boost/phoenix/object/detail/new.hpp
/usr/include/boost/phoenix/object/new.hpp
/usr/include/boost/xpressive/detail/core/matcher/logical_newline_matcher.hpp
/usr/include/gc/new_gc_alloc.h

any clues what package I should install to get new.h or something like that on debian?