Compile Root-6.026

I am trying to compile Root-6.026 with cmake 3.16.2 and (GCC) 9.3.0
Source:
$> git clone --branch latest-stable --depth=1 GitHub - root-project/root: The official repository for ROOT: analyzing, storing and visualizing big data, scientifically root_src

  • To compile:
    cmake -DCMAKE_INSTALL_PYROOTDIR=/usr/bin/python3 -DCMAKE_CXX_STANDARD=“17” -DCMAKE_INSTALL_PREFIX=/home/Softwares/2022/Root-6.026 /home/Softwares/2022/root_src/

After this command, some outputs:


System Linux-4.18.0-193.28.1.el8_2.x86_64
Processor 4 core Intel(R) Core™ i7-3770K CPU @ 3.50GHz (x86_64)
Build type Release
Install path /home/Softwares/2022/Root-6.026
Compiler GNU 9.3.0
Compiler flags:
C -Wno-implicit-fallthrough -pipe -Wall -W -pthread -O3 -DNDEBUG
C++ -std=c++17 -Wno-implicit-fallthrough -Wno-noexcept-type -pipe -Wshadow -Wall -W -Woverloaded-virtual -fsigned-char -pthread -O3 -DNDEBUG
Linker flags:
Executable -rdynamic
Module
Shared -Wl,–no-undefined -Wl,–hash-style=“both”


*** When run the command “cmake --build . --target install -j4” , the final results is:

[ 56%] Copying /home/Softwares/2022/root_src/ui5/eve7/manifest.json
[ 56%] Copying /home/Softwares/2022/root_src/ui5/eve7/shaders/custom/copyDepth2RReve.frag
[ 56%] Copying /home/Softwares/2022/root_src/ui5/eve7/shaders/custom/copyDepth2RReve.vert
[ 56%] Copying /home/Softwares/2022/root_src/ui5/eve7/shaders/custom/highPassReve.vert
[ 56%] Copying /home/Softwares/2022/root_src/ui5/eve7/shaders/custom/highPassReve.frag
[ 56%] Copying /home/Softwares/2022/root_src/ui5/eve7/shaders/custom/lowPassReve.frag
[ 56%] Copying /home/Softwares/2022/root_src/ui5/eve7/shaders/custom/lowPassReve.vert
[ 56%] Copying /home/Softwares/2022/root_src/ui5/eve7/shaders/programs.json
[ 56%] Copying /home/Softwares/2022/root_src/ui5/eve7/view/EveTable.view.xml
[ 56%] Copying /home/Softwares/2022/root_src/ui5/eve7/view/GL.view.xml
[ 56%] Copying /home/Softwares/2022/root_src/ui5/eve7/view/Ged.view.xml
[ 56%] Copying /home/Softwares/2022/root_src/ui5/eve7/view/GeomViewer.view.xml
[ 56%] Copying /home/Softwares/2022/root_src/ui5/eve7/view/Lego.view.xml
[ 56%] Copying /home/Softwares/2022/root_src/ui5/eve7/view/Main.view.xml
[ 56%] Copying /home/Softwares/2022/root_src/ui5/eve7/view/MainMain.view.xml
[ 56%] Copying /home/Softwares/2022/root_src/ui5/eve7/view/Summary.view.xml
[ 57%] Copying /home/Softwares/2022/root_src/ui5/fitpanel/controller/ColorButton.js
[ 57%] Copying /home/Softwares/2022/root_src/ui5/fitpanel/controller/FitPanel.controller.js
[ 57%] Copying /home/Softwares/2022/root_src/ui5/fitpanel/style/style.css
[ 57%] Copying /home/Softwares/2022/root_src/ui5/fitpanel/view/FitPanel.view.xml
[ 57%] Copying /home/Softwares/2022/root_src/ui5/panel/Controller.js
[ 57%] Copying /home/Softwares/2022/root_src/ui5/panel/panel.html
[ 57%] Built target move_artifacts
gmake: *** [Makefile:152: all] Error 2

** and stop here.

What I need to solve this ?
Thanks a lot.

Run “make -j1” in order to get the real error.

…and I bet a git pull followed by another attempt to build will fix this; I have just released v6.26/04 which fixes a build issue with xrootd’s hash.

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