I am trying to compile root-6.06.02 for the Jefferson Lab environment, shown below, and I get an error
below. Let me thank you advance for any help you can provide. – Robert Michaels (

/u/apps/root/6.06.02/root-6.06.02/interpreter/llvm/src/tools/llvm-config/llvm-config.cpp:46:35: fatal error: No such file or directory
#include “”
compilation terminated.
/bin/rm: cannot remove /u/apps/root/6.06.02/root-6.06.02/interpreter/llvm/obj/tools/llvm-config/Release/llvm-config.d.tmp': No such file or directory make[2]: *** [/u/apps/root/6.06.02/root-6.06.02/interpreter/llvm/obj/tools/llvm-config/Release/llvm-config.o] Error 1 make[2]: Leaving directory/u/apps/root/6.06.02/root-6.06.02/interpreter/llvm/obj/tools/llvm-config’
make[1]: *** [all] Error 1
make[1]: Leaving directory `/u/apps/root/6.06.02/root-6.06.02/interpreter/llvm/obj’
make: *** [interpreter/llvm/inst/lib/libclangSema.a] Error 2

How does root generate this file “” and what might I be missing ?
A Google search didn’t help me on this.

Here are some details about my compilation environment

gcc -v
gcc version 4.9.2 (GCC)

cat /etc/redhat-release
CentOS release 6.5 (Final)

tail config.log
Result: done
Result: Enabled support for asimage, astiff, builtin_afterimage, builtin_ftgl, builtin_glew, builtin_pcre, builtin_lzma, builtin_llvm, explicitlink, fftw3, genvector, krb5, mathmore, memstat, mysql, opengl, python, search_usrlocal, shadowpw, shared, ssl, tmva, vdt, x11, xft, xml.

more config.status

While it doesn’t matter for compiling, the environment variables are set correctly

Hi Robert,
Did you use cmake? Can you please follow the instructions at ?

Yes, these instructions worked perfectly. Thank you. I managed to compile ROOT and put it through a series of tests that I usually do.