[MacPorts] #44752: Cmake install bug
#44752: Cmake install bug -------------------------+-------------------------------- Reporter: don.spong@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Keywords: | Port: -------------------------+-------------------------------- 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 -- Ticket URL: <https://trac.macports.org/ticket/44752> MacPorts <http://www.macports.org/> Ports system for OS X
#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
#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 | --------------------------+------------------- Description changed by devans@…: 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 cannot 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 -- -- Ticket URL: <https://trac.macports.org/ticket/44752#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#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 | --------------------------+------------------- Comment (by ryandesign@…): `cmake --version` works fine for me. Could you show us the output of `port contents cmake` please? This will be a lot of output, so saving it in a file and attaching it is probably best. -- Ticket URL: <https://trac.macports.org/ticket/44752#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#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 | --------------------------+------------------- Comment (by ryandesign@…): In addition, let's verify you're actually running MacPorts cmake. Try running `/opt/local/bin/cmake --version`, as well as `which cmake`. -- Ticket URL: <https://trac.macports.org/ticket/44752#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#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 | --------------------------+------------------- Comment (by don.spong@…): Between my install last night of Macports cmake and now, it has started working okay. Perhaps quitting out of X11 and starting it back up again fixed the problem. cmake —version now gives: cmake version 3.0.0 CMake suite maintained and supported by Kitware (kitware.com/cmake). as expected. Sorry for the false alarm. -Thanks, Don -- Ticket URL: <https://trac.macports.org/ticket/44752#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#44752: cmake @3.0.0_3: "Could not find CMAKE_ROOT" error at runtime --------------------------+-------------------- Reporter: don.spong@… | Owner: css@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: invalid | Keywords: Port: cmake | --------------------------+-------------------- Changes (by mf2k@…): * status: new => closed * resolution: => invalid -- Ticket URL: <https://trac.macports.org/ticket/44752#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts