I’ve a newly installed PC with Alma Linux 9
I’ve downloaded the source files from the official ROOT repo and I’m trying now to compile it but somehow CMAKE is not able to find X11 though it’s installed, in fact:
minime@boson myBuild]$ sudo yum install xorg-x11-xauth.x86_64
[sudo] password for minime:
Last metadata expiration check: 2:31:52 ago on Mon 20 Mar 2023 07:50:17 AM CET.
Package xorg-x11-xauth-1:1.1-10.el9.x86_64 is already installed.
Nothing to do.
Output of CMAKE:
-- Looking for X11
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find X11 (missing: X11_X11_INCLUDE_PATH X11_X11_LIB)
Call Stack (most recent call first):
Do you have any suggestion?
_ROOT Version: 6.26.10
_Platform: Alma Linux 9
_Compiler: c++ (GCC) 11.3.1
Do you really need to build ROOT from sources? Please, note that the preferred / recommended installation procedure for regular users is through a binary pre-compiled package or a Conda package; check Installing ROOT - ROOT for instructions.
Other than that, if you really need to build from source, you could check the mentioned log files (cited) to see the specific error when building Xrootd.