Error 127 Make Command Not Found
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 questions you might have Meta Discuss the
Make Error 127 Ubuntu
workings and policies of this site About Us Learn more about Stack error 127 makefile Overflow the company Business Learn more about hiring developers or posting ads with us Ask Ubuntu Questions Tags make error 127 windows Users Badges Unanswered Ask Question _ Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute: Sign up Here's how it
Make Error 127 Cygwin
works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top /bin/bash: g++: command not found error 127 up vote 2 down vote favorite I was trying to install a software quicknet from a tar.gz file. After using ./configure when i tried using make it showed the following erroe g++ -I. -I.
Make Error 127 Eclipse
-c QN_args.cc /bin/bash: g++: command not found make: *** [QN_args.o] Error 127 i have already installed gcc compiler i am new to Ubuntu and Linux any help will be appreciated thanks in advance command-line bash compiling gcc share|improve this question edited Feb 8 '15 at 18:19 muru 68.5k12125173 asked Feb 8 '15 at 18:08 Jasmeen Patel 16112 add a comment| 1 Answer 1 active oldest votes up vote 5 down vote You need the g++ compiler, not the gcc, so install the g++ package, and maybe build-essential for any needed headers: sudo apt-get install g++ and if necessary (probably not for this package): sudo apt-get install build-essential You should read the README file(s), then the INSTALL file and follow the instructions. They usually boil down to run configure: ./configure then run make: make and if you want to install the programs in a system area, run: sudo make install The configure step should search out the necessary parts (g++) and complain and stop if necesary parts are not found. It builds the Makefile from the information about your system. I h
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 make cc command not found centos about Stack Overflow the company Business Learn more about hiring developers or posting
Make Error 127 Permission Denied
ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack make cc command not found ubuntu Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Command not found, make: Error 127, up vote 0 down vote http://askubuntu.com/questions/583171/bin-bash-g-command-not-found-error-127 favorite I have this make file which compiles successfully: CCC = g++ CFLAGS = -c -g -Wall CCFLAGS = $(CFLAGS) LDFLAGS = -g common_objects = main.o tokens.o flex_objects = flex_scanner.o hand_objects = hand_scanner.o both: flex_scanner hand_scanner flex_scanner: $(flex_objects) $(common_objects) $(CCC) $(LDFLAGS) $(flex_objects) $(common_objects) -o flex_scanner flex_scanner.o: flex_scanner.l flex -it flex_scanner.l > flex_scanner.cc $(CCC) $(CCFLAGS) flex_scanner.cc clean: /bin/rm -f hand_scanner flex_scanner $(hand_objects) $(flex_objects) \ $(common_objects) flex_scanner.cc test: both flex_scanner < http://stackoverflow.com/questions/29600491/command-not-found-make-error-127 test1 > flex_test1.output hand_scanner < test1 > hand_test1.output But when I try to run make test I get the following error: flex_scanner < test1 > flex_test1.output /bin/sh: flex scanner:command not found make *** [test] Error 127 What does this error mean? c++ makefile g++ flex-lexer share|improve this question edited Apr 14 '15 at 13:32 splash 10.2k2856 asked Apr 13 '15 at 7:59 AToya 170312 5 Try: ./flex_scanner ? –Brett Hale Apr 13 '15 at 8:07 or you could ln -s ~/bin/flex_scanner /path_to_exec/flex_scanner and ln -s ~/bin/hand_scanner /path_to_exec/hand_scanner –W.F. Apr 13 '15 at 8:12 Thanks, adding "./" worked for me. Can you explain why this is so? –AToya Apr 13 '15 at 17:04 1 When you give a command like flex_scanner, your operating system must look for an executable by that name. It has a list of places where it looks for such things, which may or may not include "." (for the working directory). By adding "./" you are telling the OS "don't go hunting for something called 'flex_scanner', use the path I'm giving you". –Beta Apr 14 '15 at 1:38 If you are not in a hostile machine, you can add export PATH=$PATH:. to your ~/
Tags Search LQ Wiki Search Tutorials/Articles Search 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 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/ 11.3 User 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 http://www.centos.org/forums/viewtopic.php?t=17507 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, receive error 127 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 process or your account login, make error 127 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 which required me to use the 'make' command. But on giving the make command *******
ALFA Network driver General support questions including new installations Post Reply Print view Search Advanced search 13 posts 1 2 Next CardScape Posts: 6 Joined: 2011/06/22 23:13:32 Contact: Contact CardScape Website [Problem] Compiling/Installing ALFA Network driver Quote Postby CardScape » 2011/06/22 23:22:09 Hi,I've just installed CentOS in my PC - removed win 7.and i have a problem in driver installingthese are the commands :Code: Select allmake
make install
log :Code: Select all[CardScape@cardscape ~]$ dir
Desktop
rtl8187L_linux_26.1039.0104.2010.release
rtl8187L_linux_26.1039.0104.2010.release.tar.gz
[CardScape@cardscape ~]$ cd rtl8187L_linux_26.1039.0104.2010.release
[CardScape@cardscape rtl8187L_linux_26.1039.0104.2010.release]$ sudo make
/usr/src/kernels/2.6.18-238.el5-PAE-i686/scripts/gcc-version.sh: line 11: gcc: command not found
/usr/src/kernels/2.6.18-238.el5-PAE-i686/scripts/gcc-version.sh: line 12: gcc: command not found
make[1]: gcc: Command not found
make[1]: Entering directory `/usr/src/kernels/2.6.18-238.el5-PAE-i686'
CC [M] /home/CardScape/rtl8187L_linux_26.1039.0104.2010.release/rtl8187/r8187_core.o
/bin/sh: gcc: command not found
make[2]: *** [/home/CardScape/rtl8187L_linux_26.1039.0104.2010.release/rtl8187/r8187_core.o] Error 127
make[1]: *** [_module_/home/CardScape/rtl8187L_linux_26.1039.0104.2010.release/rtl8187] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.18-238.el5-PAE-i686'
make: *** [all] Error 2
[CardScape@cardscape rtl8187L_linux_26.1039.0104.2010.release]$ sudo make install
/lib/modules/2.6.18-238.el5PAE/kernel/drivers/net/wireless/rtl818x/rtl8187.ko: \
/lib/modules/2.6.18-238.el5PAE/kernel/net/mac80211/mac80211.ko \
/lib/modules/2.6.18-238.el5PAE/kernel/net/wireless/cfg80211.ko \
/lib/modules/2.6.18-238.el5PAE/kernel/net/rfkill/rfkill.ko \
/lib/modules/2.6.18-238.el5PAE/kernel/net/wireless/wireless_compat.ko \
/lib/modules/2.6.18-238.el5PAE/kernel/drivers/misc/eeprom_93cx6.ko
/lib/modules/2.6.18-238.el5PAE/kernel/drivers/net/wireless/rtl818x/rtl8187.ko: \
/lib/modules/2.6.18-238.el5PAE/kernel/net/mac80211/mac80211.ko \