6.24.00 does not complile on RedHat 8.3

Hello,
I’m running into problems compiling root 6.24.00:

$ cmake -Dclad=OFF -DCMAKE_INSTALL_PREFIX=…/root_install …/root-6.24.00
$ cmake --build . – install -j8


[ 76%] Linking CXX static library …/…/…/…/lib/libclingInterpreter.a
[ 76%] Built target clingInterpreter
Scanning dependencies of target CLING
[ 76%] Built target CLING
Scanning dependencies of target LLVMRES
[ 76%] Copying LLVM resource and header files
[ 76%] Built target LLVMRES
(stucks…)

$ cmake --build . --install
[ 0%] Built target AFTERIMAGE
[ 0%] Built target OPENUI5
[ 0%] Built target LZMA
[ 0%] Performing download step (download, verify and extract) for ‘VDT’
(stucks)

seems that vdt uses network access, which I do not have (not mentioned in the docs).
I think I do not need it anyhow…

so again:
$ rm -rf *
$ cmake -Dclad=OFF -Dvdt=OFF -DCMAKE_INSTALL_PREFIX=…/root_install …/root-6.24.00
$ cmake --build . --install

[ 79%] Generating G__Thread.cxx, …/…/lib/Thread.pcm
[ 79%] Generating G__forward_listDict.cxx, …/…/lib/libforward_listDict.rootmap
[ 79%] Generating G__vectorDict.cxx, …/…/lib/libvectorDict.rootmap
In file included from input_line_7:21:
/srv/ussapc/home/ussapc/sw/root_build/include/ROOT/TReentrantRWLock.hxx:26:10: fatal error: ‘tbb/enumerable_thread_specific.h’ file not found
#include “tbb/enumerable_thread_specific.h”
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: /srv/ussapc/home/ussapc/sw/root_build/core/rootcling_stage1/src/rootcling_stage1: compilation failure (/srv/ussapc/home/ussapc/sw/root_build/lib/libThreaddb2bde6cdd_dictUmbrella.h)
gmake[2]: *** [core/thread/CMakeFiles/G__Thread.dir/build.make:109: core/thread/G__Thread.cxx] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:27339: core/thread/CMakeFiles/G__Thread.dir/all] Error 2
gmake[1]: *** Waiting for unfinished jobs…

I found out that tbb is required by imt, so again
$ rm -rf *
$ cmake -Dclad=OFF -Dvdt=OFF -Dimt=OFF -DCMAKE_INSTALL_PREFIX=…/root_install …/root-6.24.00
$ cmake --build . – install -j 8

[100%] Building CXX object roofit/roostats/CMakeFiles/RooStats.dir/src/ToyMCSampler.cxx.o
[100%] Building CXX object roofit/roostats/CMakeFiles/RooStats.dir/src/ToyMCStudy.cxx.o
[100%] Building CXX object roofit/roostats/CMakeFiles/RooStats.dir/src/UniformProposal.cxx.o
[100%] Building CXX object roofit/roostats/CMakeFiles/RooStats.dir/src/UpperLimitMCSModule.cxx.o
[100%] Linking CXX shared library …/…/lib/libRooStats.so
[100%] Built target RooStats
(stucks)

$ cmake --build . – install
[ 0%] Built target OPENUI5
[ 0%] Performing download step (download, verify and extract) for ‘XROOTD’

unbeliveable…
$ rm -rf *
$ cmake -Dclad=OFF -Dvdt=OFF -Dimt=OFF -Dxrootd=OFF -DCMAKE_INSTALL_PREFIX=…/root_install …/root-6.24.00
$ cmake --build . – install -j 8

runs.
Please fix at next release.
I would recommend to implement a “localonly” option in case you don’t have internet access from the installation PC

Georg

_ROOT Version: 6.24.00
_Platform: RetHat 8.3
_Compiler:gcc 8.3.1-5


Hi @Georg_T!

I am sorry for your experience, your feedback is important so could you please open bunch of issues describing problems you posted here:

Thanks, Oksana.

done

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.