Compiling Root 6 on Ubuntu 16.04

[quote=“giovannistagnitto”]I’ve tried to follow your hints, but there is always the same error during the compilation. I have also tried to install the ‘libclang-dev’ package, but nothing changes. Thanks for your patience.

[ 11%] Building CXX object interpreter/cling/lib/Interpreter/CMakeFiles/obj.clingInterpreter.dir/InvocationOptions.cpp.o In file included from /tmp/root-master/interpreter/cling/lib/Interpreter/InvocationOptions.cpp:13:0: /tmp/root-master/interpreter/cling/../llvm/src/tools/clang/include/clang/Driver/Options.h:41:36: fatal error: clang/Driver/Options.inc: No such file or directory compilation terminated. interpreter/cling/lib/Interpreter/CMakeFiles/obj.clingInterpreter.dir/build.make:643: recipe for target 'interpreter/cling/lib/Interpreter/CMakeFiles/obj.clingInterpreter.dir/InvocationOptions.cpp.o' failed make[2]: *** [interpreter/cling/lib/Interpreter/CMakeFiles/obj.clingInterpreter.dir/InvocationOptions.cpp.o] Error 1 CMakeFiles/Makefile2:8464: recipe for target 'interpreter/cling/lib/Interpreter/CMakeFiles/obj.clingInterpreter.dir/all' failed make[1]: *** [interpreter/cling/lib/Interpreter/CMakeFiles/obj.clingInterpreter.dir/all] Error 2 Makefile:149: recipe for target 'all' failed make: *** [all] Error 2
[/quote]

The final explanation for this mysterious problem has been found here:

It has nothing to do with libclang-dev