Dear Experts,
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.
Dependencies resolved.
Nothing to do.
Complete!
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):
/usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake/Modules/FindX11.cmake:457 (find_package_handle_standard_args)
cmake/modules/SearchInstalledSoftware.cmake:18 (_find_package)
cmake/modules/SearchInstalledSoftware.cmake:366 (find_package)
CMakeLists.txt:245 (include)
Do you have any suggestion?
Kind regards,
- Mauro.
_ROOT Version: 6.26.10
_Platform: Alma Linux 9
_Compiler: c++ (GCC) 11.3.1