cmake build crashes when running as user
Using slack 13.0 32-bit.
I built cmake from source following instructions from the bootstrap executable. The build was done as root. When I run Code:
cmake --version Code:
cmake version 2.8.1 Code:
cmake --version Code:
CMake Error: Could not find CMAKE_ROOT !!! root or user. Neither do I see a `Modules' directory under /usr/local/bin Any ideas? thanks tim |
Why not use Slackware's cmake SlackBuild to build cmake 2.8.1 all you should have to do is bump the version in the build.
|
I thought cmake now comes with Slackware, at least in 13.0, you should get the official package.
|
Quote:
The same symptoms persist. |
Quote:
later version. |
my CMAKE_ROOT root points to /usr/share/cmake-2.8, the modules directory is in there
|
Quote:
How do I point CMAKE_ROOT to /usr/local/share/cmake-2.8? thanks tim |
It looks like a variable so you could do:
Code:
export CMAKE_ROOT=/usr/local/share/cmake-2.8 |
Quote:
cmake binaries from /usr/local/bin and /usr/local/share/cmake-2.8 Now attempting to build for /usr/local/bin, after running ccmake I'm getting this error message: Quote:
report back after trying a couple other things doing some research. thanks tim |
Tim,
I encounter the same problem. If you specify a different install directory: ../bootstrap --prefix=/opt/cmake-2.8.5 Then the install works OK: /opt/cmake-2.8.5/bin/cmake --version cmake version 2.8.5 |
Same problem when I installed cmake 3.0
As a user, I could not run cmake.
CMake Error: Could not find CMAKE_ROOT !!! CMake has most likely not been installed correctly. Modules directory not found in /usr/local/bin Segmentation fault (core dumped) My solution as root: cd /usr/local/share chmod o+rx cmake-3.0/ cd cmake-3.0/ chmod o+rx ./* I guess the other way would be to change root's umask when doing the install. |
All times are GMT -5. The time now is 09:21 PM. |