user3126804
user3126804

Reputation: 129

installation of cmake on debian 8

I tried to install mcsema on my debian linux but I am stopped by error Cmake 3.1 or higher is required. You are running 3.0.2. On debian this is the only version could be installed by apt-get install. Building CMake from sources, I get several errors as well. Does anyone know how to install the latest version of Cmake on Debian 8?

Upvotes: 1

Views: 2465

Answers (1)

droid192
droid192

Reputation: 2242

Download latests cmake release and follow the README.rst instructions:

UNIX/Mac OSX/MinGW/MSYS/Cygwin ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

You need to have a compiler and a make installed. Run the bootstrap script you find in the source directory of CMake. You can use the --help option to see the supported options. You may use the --prefix=<install_prefix> option to specify a custom installation directory for CMake. You can run the bootstrap script from within the CMake source directory or any other build directory of your choice. Once this has finished successfully, run make and make install. In summary::

$ ./bootstrap && make && make install

Upvotes: 1

Related Questions