Hi!
I am trying to install Root 6.22 on my linux debian distribution.
I followed the Official Quick Start Guide and everything seemed to work fine until I got an error message that some header files could not be found.
48%] Generating G__Core.cxx, ../lib/Core.pcm
.../root6/build/include/module.modulemap:20:42: error: header 'RConfigure.h' not found
module "RConfigure.h" { textual header "RConfigure.h" export * }
^
.../root6/build/include/RtypesCore.h:25:10: note: submodule of top-level module 'ROOT_Config' implicitly imported here
#include "DllImport.h"
^
.../root6/build/include/RtypesCore.h:117:1: error: unknown type name 'R__EXTERN'
R__EXTERN Int_t gDebug;
^
.../root6/build/include/RtypesCore.h:117:16: error: expected ';' after top level declarator
R__EXTERN Int_t gDebug;
^
;
In file included from input_line_5:1:
.../root6/build/include/Rtypes.h:23:10: fatal error: could not build module 'ROOT_Rtypes'
#include "RtypesCore.h"
~~~~~~~~^~~~~~~~~~~~~~
While building module 'Core':
While building module 'ROOT_Foundation_C' imported from .../root6/build/include/Rtypes.h:26:
In file included from <module-includes>:1:
.../root6/build/include/ThreadLocalStorage.h:61:10: fatal error: could not build module 'ROOT_Rtypes'
#include "RtypesCore.h"
~~~~~~~~^~~~~~~~~~~~~~
While building module 'Core':
While building module 'ROOT_Foundation_Stage1_NoRTTI' imported from .../root6/build/include/Rtypes.h:193:
In file included from <module-includes>:5:
.../root6/build/include/TIsAProxy.h:16:10: fatal error: could not build module 'ROOT_Rtypes'
#include "RtypesCore.h"
~~~~~~~~^~~~~~~~~~~~~~
Error: Error loading the default header files.
core/CMakeFiles/G__Core.dir/build.make:473: recipe for target 'core/G__Core.cxx' failed
make[2]: *** [core/G__Core.cxx] Error 1
CMakeFiles/Makefile2:17748: recipe for target 'core/CMakeFiles/G__Core.dir/all' failed
make[1]: *** [core/CMakeFiles/G__Core.dir/all] Error 2
Makefile:171: recipe for target 'all' failed
make: *** [all] Error 2
What does it mean and how could I fix that? Thank you!