LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Make command line error 127 (https://www.linuxquestions.org/questions/linux-newbie-8/make-command-line-error-127-a-4175635875/)

Assi002 08-07-2018 10:34 AM

Make command line error 127
 
whenever I try to run the "make" command line , I see the following (Using Ubuntu 16 Virtual Machine) :

mkdir -p build/release
cd build/release && cmake -D CMAKE_BUILD_TYPE=Release ../..
/bin/sh: 1: cmake: not found
Makefile:16: recipe for target 'cmake-release' failed
make: *** [cmake-release] Error 127
How can I resolve this issue ? I am very new to this and I don't know what to do.

zeebra 08-07-2018 02:28 PM

Seems "cmake" is not installed. You need to install cmake and then try again.

MensaWater 08-07-2018 02:30 PM

The pertinent error is the one earlier:
Quote:

/bin/sh: 1: cmake: not found
That says the command cmake itself was not found. Either it isn't in your PATH variable or it exists but isn't executable.

You might want to do a web search for "install cmake on ubuntu" to find out where it gets installed.


All times are GMT -5. The time now is 12:52 AM.