CMake Error installing ROOT at CentOS 7

Dear Experts,

I bump on error

CMake Error at CMakeLists.txt:3 (cmake_minimum_required):
 CMake 3.4.3 or higher is required.  You are running version 2.8.12.2

while installing last version of ROOT (Release 6.10/06 - 2017-09-19). I have installed cmake3, however, it does not help to get rid of the error. Please advice.

Thank you in adavance

Alexander

Are you sure cmake version 3 is installed correctly? What does cmake --version print? Do you have multiple cmakes installed? Then you might need to specify the full path to the “new” cmake.

Thank a lot for the reply. Indeed, CentOS 7, cannot upgrade cmake in a correct way. I found a variant of a solution on http://jotmynotes.blogspot.ch/2016/10/updating-cmake-from-2811-to-362-or.html

If you installed cmake3, it is usually called cmake3 and not just cmake in binary distributions.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.