SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
as root I get the expected message.
Code:
cmake version 2.8.1
When I run
Code:
cmake --version
as user I get
Code:
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
I don't get a value for env variable CMAKE_ROOT from either
root or user.
Neither do I see a `Modules' directory under /usr/local/bin
Any ideas?
thanks
tim
I thought that too, but I decided to rebuild cmake, so deleted the
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:
CMake Error: The source directory "/usr/local/bin" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
Time doesn't permit me to pursue this further right now, so I will
report back after trying a couple other things doing some research.
thanks
tim
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.
Last edited by mule.ear; 10-17-2014 at 07:35 PM.
Reason: mistake while removing 'sensitive' portions of text
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.