LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-07-2018, 10:34 AM   #1
Assi002
LQ Newbie
 
Registered: Aug 2018
Posts: 11

Rep: Reputation: Disabled
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.

Last edited by Assi002; 08-07-2018 at 10:46 AM.
 
Old 08-07-2018, 02:28 PM   #2
zeebra
Member
 
Registered: Dec 2011
Distribution: Mageia, Slackware
Posts: 811
Blog Entries: 7

Rep: Reputation: 198Reputation: 198
Seems "cmake" is not installed. You need to install cmake and then try again.
 
1 members found this post helpful.
Old 08-07-2018, 02:30 PM   #3
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,814
Blog Entries: 15

Rep: Reputation: 1661Reputation: 1661Reputation: 1661Reputation: 1661Reputation: 1661Reputation: 1661Reputation: 1661Reputation: 1661Reputation: 1661Reputation: 1661Reputation: 1661
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.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
make: CC: Command not found make: *** [main.o] Error 127 on opensuse 11.3 Leo89 Linux - Newbie 6 11-30-2012 05:13 PM
[SOLVED] Error: ./10aa: line 5: [-n: command not found 127 hd_pulse Programming 2 05-27-2011 07:20 AM
Unable to compile C++ programs.make:g++ command not found error.Error 127 PrathuD Programming 3 03-16-2009 12:44 PM
make: Command not found, Error 127. I'm on Redhat Arild2 Linux - Newbie 3 10-30-2004 01:27 PM
make: cc: command not found make: *** [gzip.o]error 127 zyjk Linux - Newbie 5 02-08-2002 09:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration