Gcc Error Code 127
Contents |
communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed answers to any what is make error 127 questions you might have Meta Discuss the workings and policies of make error 127 ubuntu this site About Us Learn more about Stack Overflow the company Business Learn more about hiring error 127 makefile developers or posting ads with us Ask Ubuntu Questions Tags Users Badges Unanswered Ask Question _ Ask Ubuntu is a question and answer site for Ubuntu users
Makefile Error 127 Command Not Found
and developers. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top How do you fix a gcc compile 127 error? sudo apt-get install g++ doesn't work up vote 2 down vote make error 127 windows favorite 1 *emphasized text*when I try to run a program I get the following error. ubuntu@ubuntu-VirtualBox:~/Desktop$ make g++ -Wall -Wno-switch -I. -g -c -o pass.o pass.cpp make: g++: Command not found make: *** [pass.o] Error 127 I couldn't get gcc 4.8.2 installed because it said it couldn't find it. I did install 4.8 I did the following to install gcc sudo add-apt-repository ppa:ubuntu-toolchain-f/test sudo apt-get update sudo apt-get install gcc-4.8 next I did sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.6 60 --slave /usr/bin/g++ g++ /usr/bin/g++-4.6 sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 40 --slave /usr/bin/g++ g++ /usr/bin/g++-4.8 sudo update-alternatives --config gcc the only thing I can think of is I don't have 4.8 when I type the command gcc -v it says gcc version 4.8.1 (Ubuntu 4.8.1-2ubuntu1~12.04) ok I run: ubuntu@ubuntu-VirtualBox:~$ sudo apt-get install g++ Reading package lists... Done Building dependency tree Reading state information... Done g++ is already the newest version. g++ set to manually installed. The following package was
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business make error 127 cygwin Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation
Make Error 127 Command Not Found
Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like
Make Error 127 Permission Denied
you, helping each other. Join them; it only takes a minute: Sign up Linux “make” command Error 127 up vote 3 down vote favorite 3 I'm new to Linux and trying to install mktorrent (latest version) and the http://askubuntu.com/questions/448691/how-do-you-fix-a-gcc-compile-127-error-sudo-apt-get-install-g-doesnt-work README file states to simply run the 'make' command while in the directory. However, after trying 3 different terminals/emulators I would receive the same error as shown quoted below. I've tried install "automake" from repositories as suggested through other answers found on here/Google with no luck. Here are the directory contents: http://i.imgur.com/uMDlO7O.png cc -O2 -Wall prefix.c -o prefix make: cc: Command not found make: *** [prefix] Error 127 linux ubuntu terminal makefile share|improve this question http://stackoverflow.com/questions/30951279/linux-make-command-error-127 asked Jun 20 '15 at 7:04 MerKury 18113 Looks like the command cc does not exist on your system. That would be the c compiler. –arkascha Jun 20 '15 at 7:07 If you have gcc but not cc, check if it will compile successfully with gcc. You can modify Makefile to change cc to gcc. –alvits Jun 20 '15 at 7:33 add a comment| 1 Answer 1 active oldest votes up vote 5 down vote accepted sudo apt-get install build-essential should install the requirements for compiling C/C++ based applications share|improve this answer answered Jun 20 '15 at 7:31 Uku Loskit 22.5k25266 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest Name Email Post as a guest Name Email discard By posting your answer, you agree to the privacy policy and terms of service. Not the answer you're looking for? Browse other questions tagged linux ubuntu terminal makefile or ask your own question. asked 1 year ago viewed 10169 times active 1 year ago Related 82Open a new tab in gnome-terminal using command line0scol, opinionfinder make file doesnt generate make install0Make Error 127 on costum makefiles CodeBlocks0trouble getting sublime to execute with linux terminal0Command not found, make: Er
HCL Search Reviews Search ISOs Go to Page... LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie make: CC: Command not found make: *** [main.o] Error 127 on opensuse 11.3 User http://www.linuxquestions.org/questions/linux-newbie-8/make-cc-command-not-found-make-***-%5Bmain-o%5D-error-127-on-opensuse-11-3-a-860641/ Name Remember Me? 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 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, error 127 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. Are you new to LinuxQuestions.org? Visit the following links: Site Howto | Site FAQ | Sitemap | Register Now If you have any problems with the registration make error 127 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. Introduction to Linux - A Hands on Guide This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter. For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own. Click Here to receive this Complete Guide absolutely free. Search this Thread 02-04-2011, 02:36 AM #1 Leo89 LQ Newbie Registered: Feb 2011 Posts: 3 Rep: make: CC: Command not found make: *** [main.o] Error 127 on opensuse 11.3 Hello... I am using opensuse 11.3 and am trying to install a software 'LIGBUILDER'. I followed the instructions in the manual w