Hi,
I’m trying to install root-v6.10.06 with the folowing:
wget https://root.cern.ch/download/root_v6.10.06.source.tar.gz
tar -zxf root_v6.10.06.source.tar.gz
mkdir root-build-6.10.06
cd root-build-6.10.06
cmake -DCMAKE_C_COMPILER=`which gcc` -DCMAKE_CXX_COMPILER=`which g++` $APPS/root-6.10.06 #This fails
cmake --build . -- -j16
cmake --build . --target install
This fails the first cmake command with:
- LZMA not found. Switching on builtin_lzma option
-- Building LZMA version 5.2.1 included in ROOT itself
-- Looking for X11
CMake Error at /global/common/cori/software/cmake/3.8.2/share/cmake-3.8/Modules/FindX11.cmake:429 (message):
Could not find X11
Call Stack (most recent call first):
cmake/modules/SearchInstalledSoftware.cmake:235 (find_package)
CMakeLists.txt:76 (include)
-- Configuring incomplete, errors occurred!
The issue is that if I do the same procedure but for root-6.08.02, that command works fine. It find X11. Why does the cmake of 6.10.06 not find X11?
Thanks,
Glenn