Opened 10 years ago

Last modified 10 years ago

#44752 closed defect

cmake @3.0.0_3: "Could not find CMAKE_ROOT" error at runtime — at Version 1

Reported by: don.spong@… Owned by: css@…
Priority: Normal Milestone:
Component: ports Version: 2.3.1
Keywords: Cc:
Port: cmake

Description (last modified by larryv (Lawrence Velázquez))

Hi,

I tried to install cmake using macports. The install seems to go okay. But then when I try to use cake, it says it can find CMAKE_ROOT and that the installation was not done correctly (see below). What do I need to do to fix this:

[spongda~/fortran_code_development/plplot-5.10.0_install_dir] >sudo port install cmake
--->  Computing dependencies for cmake
--->  Fetching archive for cmake
--->  Attempting to fetch cmake-3.0.0_3.darwin_13.x86_64.tbz2 from http://packages.macports.org/cmake
--->  Attempting to fetch cmake-3.0.0_3.darwin_13.x86_64.tbz2.rmd160 from http://packages.macports.org/cmake
--->  Installing cmake @3.0.0_3
--->  Activating cmake @3.0.0_3
--->  Cleaning cmake
--->  Updating database of binaries
--->  Scanning binaries for linking errors
--->  No broken files found.                             
[spongda~/fortran_code_development/plplot-5.10.0_install_dir] >cmake --version
CMake Error: Could not find CMAKE_ROOT !!!
CMake has most likely not been installed correctly.
Modules directory not found in
/opt/local/bin
Segmentation fault: 11

-Thanks, Don

Change History (1)

comment:1 Changed 10 years ago by larryv (Lawrence Velázquez)

Description: modified (diff)
Owner: changed from macports-tickets@… to css@…
Port: cmake added
Summary: Cmake install bugcmake @3.0.0_3: "Could not find CMAKE_ROOT" error at runtime

Thanks for the report. In future tickets, please use WikiFormatting and Cc relevant maintainers (port info --maintainers cmake).

Note: See TracTickets for help on using tickets.