TROOT, R__CONFIGUREOPTIONS was not declared in this scope

Hi,

At compiling ROOT from the source (last commit is e0f6d49) on Ubuntu 15.04. I encountered the following issue:

...
[ 59%] Built target gitcommit
[ 59%] Building CXX object core/CMakeFiles/BaseTROOT.dir/base/src/TROOT.cxx.o
/home/peters/code_peters/root/core/base/src/TROOT.cxx: In constructor 'TROOT::TROOT(const char*, const char*, void (**)())':
/home/peters/code_peters/root/core/base/src/TROOT.cxx:467:23: error: 'R__CONFIGUREOPTIONS' was not declared in this scope
    fConfigOptions   = R__CONFIGUREOPTIONS;
                       ^
/home/peters/code_peters/root/core/base/src/TROOT.cxx:468:23: error: 'R__CONFIGUREFEATURES' was not declared in this scope
    fConfigFeatures  = R__CONFIGUREFEATURES;
                       ^
core/CMakeFiles/BaseTROOT.dir/build.make:255: recipe for target 'core/CMakeFiles/BaseTROOT.dir/base/src/TROOT.cxx.o' failed
make[2]: *** [core/CMakeFiles/BaseTROOT.dir/base/src/TROOT.cxx.o] Error 1
CMakeFiles/Makefile2:9198: recipe for target 'core/CMakeFiles/BaseTROOT.dir/all' failed
make[1]: *** [core/CMakeFiles/BaseTROOT.dir/all] Error 2
Makefile:137: recipe for target 'all' failed
make: *** [all] Error 2

Do you have a hint for me of what’s wrong and how I could fix this?

cheers,
Peter

Hi,

It doesn’t happen any more after playing around with cmake-gui (erssentially checking the R flag).

cheers,
peter