Error "Could NOT find X11 (missing: X11_X11_INCLUDE_PATH X11_X11_LIB)" with custom cmake
anushree85 opened this issue · 3 comments
anushree85 commented
Hi,
I am installing Fairsoft latest release apr21_patches. As the first step, I use bootstrap-cmake.sh to upgrade the CMake version as the version of the system's make is 2.8.12.
During built of ROOT, I got the following error:
Could NOT find X11 (missing: X11_X11_INCLUDE_PATH X11_X11_LIB)
Call Stack (most recent call first):
/lustre/cmswork/ghosh/software/cmake3.18/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:458 (_FPHSA_FAILURE_MESSAGE)
/lustre/cmswork/ghosh/software/cmake3.18/share/cmake-3.18/Modules/FindX11.cmake:414 (find_package_handle_standard_args)
cmake/modules/SearchInstalledSoftware.cmake:16 (_find_package)
cmake/modules/SearchInstalledSoftware.cmake:304 (find_package)
CMakeLists.txt:192 (include)
-- Configuring incomplete, errors occurred!
See also "/lustre/cmswork/ghosh/software/FairSoft/build/Build/root/CMakeFiles/CMakeOutput.log".
See also "/lustre/cmswork/ghosh/software/FairSoft/build/Build/root/CMakeFiles/CMakeError.log".
CMake Error at /lustre/cmswork/ghosh/software/FairSoft/build/Stamp/root/root-configure-RelWithDebInfo.cmake:47 (message):
Stopping after outputting logs.
gmake[2]: *** [CMakeFiles/root.dir/build.make:130: Stamp/root/root-configure] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:4525: CMakeFiles/root.dir/all] Error 2
However, in the system X11 is already installed.
Thanks for your help!
ChristianTackeGSI commented
Which OS / Distribution are you using?
Have you installed all the dependencies as listed in the appropriate setup routing?
anushree85 commented
Hi,
I am using CentOS-7.
I reinstalled everything from scratch following the instructions and now Fairsoft is installed successfully. Thanks for your help.
ChristianTackeGSI commented
Thanks for following up and letting us know! :-)