I am running Debian 9 an need cmake v3.9 or higher.
Debian 9 has a package of cmake v3.7.
I go to the page https://cmake.org/install/
and download cmake-3.15.5.tar.gz source.
First i followed your instructions:
Or, an existing CMake installation can be used to build a new version: cmake . make make install
It finished ok, without error report.
The call of cmake failed:
t-user@ch-dell:~/rpclib/build$ cmake …
CMake Error: Could not find CMAKE_ROOT !!! CMake has most likely not been installed correctly. Modules directory not found in /usr/local/share/cmake-3.7 CMake Error: Error executing cmake::LoadCache(). Aborting.
It intermixed with the old installation of 3.7.
Then i uninstalled the v3.7 package of Debian and removed everything of cmake in the /usr/local/ directories bin, doc, share
and followed your instructions with bootstrap:
./bootstrap make make install
Finished ok, no error report, but calling ‘cmake’:
t-user@ch-dell:~/rpclib/build$ cmake .. bash: /usr/bin/cmake: Datei oder Verzeichnis nicht gefunden
What is he missing and how to repair it on Debian 9?