I am having troubles in building
cmake fails to find the
Just unpacking the tar and running
CMake Error at /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 (message): Could NOT find X11 (missing: X11_X11_LIB)
I understand that the name of the exact library produced might change from system to system, to version to version… so I found the X11 library in my system via
find /usr/lib -iname *x11*
and passed it in the
//Path to a library. X11_X11_LIB:FILEPATH=/usr/lib/x86_64-linux-gnu/libX11.so.6.3.0
after that is fixed we get…
-- Looking for X11 CMake Error at cmake/modules/SearchInstalledSoftware.cmake:345 (message): libXpm and Xpm headers must be installed.
and again, finding the
xpm library path and specifying it in the
cmake complains about not finding
Is something wrong with the
cmake file supposed to locate these libraries, or with their installation in Ubuntu? Why are not they located automatically?
I have this OS since a while, so I thought I might have messed up some of the libraries.
I tried to
purge them, run
apt update, and re
install again all of them: I still get the same problem.
The same error I get on a virtual machine with Ubuntu 20.04 I created yesterday with VirtualBox on macOS.
Thanks for your help.
ROOT Version: 6.24.00
Platform: Ubuntu 20.04