Installation Issues in Root v6.24

Dear experts,

I am facing an error while installing root-v6.24.02 on Ubuntu 18.04.
_ROOT Version:_v6.24.02
Platform: Ubuntu 18.04
_Compiler:_gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)

The following are the commands I follow for the installation:

In the root directory,
mkdir obj
cd obj
cmake …

At this stage, it stops during building XROOTD with the following error message:
[ 1%] Performing build step for ‘XROOTD’
CMake Error at /home/lenovo/Downloads/root-6.24.02/obj/XROOTD-prefix/src/XROOTD-stamp/XROOTD-build-Release.cmake:49 (message):
Command failed: 2


See also


CMakeFiles/XROOTD.dir/build.make:85: recipe for target ‘XROOTD-prefix/src/XROOTD-stamp/XROOTD-build’ failed
make[2]: *** [XROOTD-prefix/src/XROOTD-stamp/XROOTD-build] Error 1
CMakeFiles/Makefile2:7335: recipe for target ‘CMakeFiles/XROOTD.dir/all’ failed
make[1]: *** [CMakeFiles/XROOTD.dir/all] Error 2
Makefile:155: recipe for target ‘all’ failed
make: *** [all] Error 2

Any suggestions to help resolve this issue will be really helpful for me.


Do you really need to compile it? You can just take a pre-compiled version (“binary distribution”). Go to the Download page (top of this page) and click on the “latest stable release” link (don’t forget to read the install instructions first and make sure you have installed the required dependencies for Ubuntu even if you are not compiling, just in case), then choose the binary version for your Ubuntu 18.

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