-----Original Message----- From: CMake [mailto:cmake-boun...@cmake.org] On Behalf Of Alan W. Irwin Sent: Sonntag, 17. August 2014 01:51 To: David Zemon Cc: cmake@cmake.org Subject: Re: [CMake] No Such File or Directory
On 2014-08-16 15:02-0500 David Zemon wrote: > Hello, > > After downloading the 3.0.1 binary Linux distribution of CMake, I am > running into the following bash error: > > *david@fresh-ubuntu:~/**PropWare/util$* cmake ^ ==> that is a prompt followed by a blank so it looks like there is no actual path in front of your cmake invocation. > bash: /home/david/cmake-3.0.1-Linux-i386/bin/cmake: No such file or > directory I am pretty sure this issue is due to a very long-standing Linux security feature where you have to specify executables using a path in front of the name, i.e., from that directory invoke cmake with ./cmake or from anywhere invoke it with the full pathname, e.g., /home/david/cmake-3.0.1-Linux-i386/bin/cmake Hope this guess is right. Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); the Time Ephemerides project (timeephem.sf.net); PLplot scientific plotting software package (plplot.sf.net); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake Hi, I think you didn't read careful enough. David tries once withou and second time with full path. Furthermore, the `which` command can find cmake, what means it's somewhere in the PATH, so there's no need to specify full path by invokation (do you specify full path when invoking `grep` for example? - I don't think so.) So apparently system cannot find some file, but it's not the CMake executable itself. Marcel Loose's answer makes a lot of sense to me. -- Gruesse, Jakub -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake