Hello,
I am trying to install ROOT 6.36.00 with all the required dependencies installed. I get the following error
/opt/root-6.36.00/core/clingutils/src/TClingUtils.cxx: In function ‘void ROOT::TMetaUtils::GetNormalizedName(std::string&, const clang::QualType&, const cling::Interpreter&, const TNormalizedCtxt&)’:
/opt/root-6.36.00/core/clingutils/src/TClingUtils.cxx:4188:16: error: ‘AtomicTypeNameHandlerRAII’ is not a member of ‘TClassEdit’
4188 | TClassEdit::AtomicTypeNameHandlerRAII atomicTypeNameHandler_step1(
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/opt/root-6.36.00/core/clingutils/src/TClingUtils.cxx:4196:16: error: ‘AtomicTypeNameHandlerRAII’ is not a member of ‘TClassEdit’
4196 | TClassEdit::AtomicTypeNameHandlerRAII atomicTypeNameHandler_norm_name(
| ^~~~~~~~~~~~~~~~~~~~~~~~~
gmake[2]: *** [core/clingutils/CMakeFiles/ClingUtils.dir/build.make:93: core/clingutils/CMakeFiles/ClingUtils.dir/src/TClingUtils.cxx.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:49274: core/clingutils/CMakeFiles/ClingUtils.dir/all] Error 2
gmake[1]: *** Waiting for unfinished jobs....
Can someone help to resolve this problem? Any help is appreciated.
_ROOT Version:_6.36.00
_Platform:_ Fedora 42
_Compiler:_ gcc version 15.1.1 20250521 (Red Hat 15.1.1-2) (GCC)
Hi,
Thank you for the post. Fedora 42 is part of our testing platforms, I am sure we can converge towards a solution quickly.
How did you obtain ROOT and how did you configure it (CMake command)?
Cheers,
D
Hi @Danilo,
I downloaded the ROOT from : https://root.cern/download/root_v6.36.00.source.tar.gz
I used the following commands to configure and build ROOT in a /opt/root_build
folder
cmake -DCMAKE_INSTALL_PREFIX="/opt/root/pro" -Dall="ON" -DCMAKE_BUILD_TYPE="Release" -DCMAKE_CXX_STANDARD="17" ../root-6.36.00
cmake --build . -- -j6
I even tried make clean
when it failed first time. This didn’t help. So, once again tried a fresh install by cleaning the /opt/root_build
directory with rm -fr *
. But that didn’t work too!
The text displayed on the terminal during the execution of the first command above is
attached (17.7 KB).
Let me know if you need more information to diagnose the issue.
EDIT:
A simple build, such as:
cmake -DCMAKE_INSTALL_PREFIX="/opt/root/pro" -DCMAKE_BUILD_TYPE="Release" ../root-6.36.00
followed by make clean
gives
root@Yoga:/opt/root_build# make clean
make[2]: interpreter/cling/tools/plugins/example/CMakeFiles/install-clingDemoPlugin.dir/build.make: No such file or directory
make[2]: *** No rule to make target 'interpreter/cling/tools/plugins/example/CMakeFiles/install-clingDemoPlugin.dir/build.make'. Stop.
make[1]: *** [CMakeFiles/Makefile2:48158: interpreter/cling/tools/plugins/example/CMakeFiles/install-clingDemoPlugin.dir/clean] Error 2
make: *** [Makefile:162: clean] Error 2
Best regards,
Ajay
Do you have any other version of ROOT installed (and available through the default paths)?