[MacPorts] #44752: cmake @3.0.0_3: "Could not find CMAKE_ROOT" error at runtime (was: Cmake install bug)

MacPorts noreply at macports.org
Sun Aug 24 12:31:39 PDT 2014


#44752: cmake @3.0.0_3: "Could not find CMAKE_ROOT" error at runtime
--------------------------+-------------------
  Reporter:  don.spong@…  |      Owner:  css@…
      Type:  defect       |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.3.1
Resolution:               |   Keywords:
      Port:  cmake        |
--------------------------+-------------------
Changes (by larryv@…):

 * owner:  macports-tickets@… => css@…
 * port:   => cmake


Old description:

> 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

New description:

 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

--

Comment:

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

-- 
Ticket URL: <https://trac.macports.org/ticket/44752#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list