Make Depend Error 127
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might make error 127 linux have Meta Discuss the workings and policies of this site About
Install Makedepend
Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads
Make Error 127 Ubuntu
with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million
Makefile Error 127 Command Not Found
programmers, just like you, helping each other. Join them; it only takes a minute: Sign up make: cannot find makedepend up vote 3 down vote favorite I am trying to run the following makefile CMDLINE_SRC=$(wildcard commandLine/*.c) CMDLINE_OBJS = $(CMDLINE_SRC:.c=.o) EXECUTABLES = $(CMDLINE_SRC:.c=) LIB_SRC=$(wildcard c/*.c) LIB_OBJ = $(LIB_SRC:.c=.o) LIB_OUT = lib/libclinrisk.a INCLUDES = -I include # compiler make error 127 cygwin CC = gcc CCFLAGS = LDFLAGS = # library paths LIBS = -Llib -lclinrisk -lm .SUFFIXES: .c default: dep executables executables: $(EXECUTABLES) cp $(EXECUTABLES) executables $(EXECUTABLES): $(LIB_OUT) .c: $(CC) $(INCLUDES) $(LDFLAGS) $< -o $@ $(LIBS) .c.o: $(CC) $(INCLUDES) $(CCFLAGS) -c $< -o $@ $(LIB_OUT): $(LIB_OBJ) ar rcs $(LIB_OUT) $(LIB_OBJ) depend: dep dep: makedepend -- $(CFLAGS) -- -I /usr/include/linux $(INCLUDES) $(LIB_SRC) clean: rm -f $(LIB_OBJ) $(LIB_OUT) Makefile.bak rm -f $(CMDLINE_OBJ) $(CMDLINE_PROGS) rm -f executables/* # DO NOT DELETE and getting the following error message: $ make makedepend -- -- -M make: makedepend: Command not found make: *** [dep] Error 127 i gather that I may not have makedepend install as if I press tab after typing in make I get: $ make
Linux How to Fix a Linux Depend Error 127 How to Fix a Linux Depend Error 127 By G.S. Jackson eHow Contributor G.S. Jackson Follow Pin make error 127 windows Share Tweet Share Email Save When compiling Linux programs, programmers make error 127 eclipse often do so from the command line. You can accomplish this by running the "configure" command, followed by the make error 127 permission denied "make" command. However, if you try to run the "Make" command without first consulting the output of the "configure" command, you may have missed important packages that your program requires. This http://stackoverflow.com/questions/14727506/make-cannot-find-makedepend will give the "127" error, signaling that these dependencies have not been met. By consulting the output of the configure command, you can determine what packages are require to compile and install the program. Navigate to the source directory of the program in the command terminal. Open the command terminal by clicking on the system menu, then "System Tools," then clicking "Terminal." Run http://www.ehow.com/how_12171955_fix-linux-depend-error-127.html the following command in the terminal: $> ./configure Read the output of the configure command. This output will describe for you what dependencies are missing. Dependencies are programs or code required by the program in order to run. The end of the output should list dependencies required by the current program. Install those programs. The configure output will list the files and the versions require, so a Google search should lead you to the correct packages. References The Linux Documentation Project: Configure; Make; Make Install; Willy; 2003 Promoted By Zergnet Comments Please enable JavaScript to view the comments powered by Disqus. Related Searches You May Like How to Fix Broken Packages in Ubuntu How to Install Compat-Libstdc++ in Ubuntu How to Convert PY Files to PYC How to Run a Java Program Script in Ubuntu Illustrator With Insufficient Memory Error How to Repair Java Installation M Is DIY in your DNA? Become part of our maker community. Submit Your Work! out of box M Get Weekly DIY Guides & Inspiration Life Made Easier. About eHow Advertise Write For eHow Contact Us Connect with us Terms of
Member Registered: 2008-03-24 Posts: 21 Re: makedepend: Hi, When I try to compile with the below command http://developerweb.net/viewtopic.php?id=5652 $make -f sk.mak dpnd_ac I am getting below error ---------------------------- make[1]: makedepend: Command not found make[1]: *** [depend] Error 127 make[1]: Leaving directory `/home/jana/Stack/Lyr1/Product' make: *** [dpnd_ac] Error 2 what could be the problem here? I am trying this on RHEL4 machine. $ uname -a Linux TEST1 2.6.9-42.EL #1 Wed Jul 12 23:16:43 EDT 2006 error 127 i686 i686 i386 GNU/Linux Somelines from Makefile(sk.mak) ----------------------------- DEPEND=depend MAKEDEPEND=makedepend dpnd_ac: @$(MAKE) -f $(MAKENAME) $(DEPEND)........ # Build the dependency $(DEPEND): $(MAKEDEPEND) -f $(MAKENAME) $(DEP_SRCS) #File compilation $(CC) -c $(CPRDOPTS) $(SN_DIR)/aaa.c ............................... ............................... $ which makedepend /usr/bin/which: no makedepend in (/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/vankamj/bin) Pls let me know whats the problem here. Thanks Jana. Offline Quote make error 127 #2 2008-08-14 12:51 PM i3839 Oddministrator From: Amsterdam Registered: 2003-06-07 Posts: 2,229 Re: makedepend: Umm, you don't have "makedepend" installed? Offline Quote #3 2008-08-14 01:17 PM Jana Member Registered: 2008-03-24 Posts: 21 Re: makedepend: If I give 'make' followed by TAB at prompt, that does n't showing 'makedepend', I think this says 'makedepend' is not installed in my machine. $ make