gmake: makedepend: Command not found
First message on the forum
New in the Linux word Using VMwere CentOS for RedHat I have a Makefile ---------------- depend: makedepend $(CXX_FILES) # DO NOT DELETE THIS LINE -- make depend depends on it. ------------------------ When I do: gmake makedepend I got: gmake:makedend:Comand not found. This works on my home other Linux RedHat Enterprise. Need help Thank you Michael, |
This message implies gmake is not installed or is not installed in your system PATH. If you type:
which gmake It will point you towards the full path if one exists. You may just need to install the development tools for your distribution. -Chad |
gmake is there: makedepend looks that is not there
$ which gmake
$ /usr/bin/gmake In my Makefile I am refering to depend: here is the complete Makefile It looks that gmake canot find makedepend. I don't know where to get it or which packet. ------------------------------------ SYSTEMC =/usr/local/systemc-2.2 CXX = g++ INCL_PATH = -I$(SYSTEMC)/include CXXFLAGS = -g $(INCL_PATH) -Wno-deprecated ## LIBS = -L$(SYSTEMC)/lib -linux -lsystemc -lm LIBS = -L$(SYSTEMC)/lib -linux -lsystemc H_FILES = \ simple_bus.h \ simple_bus_arbiter.h \ simple_bus_arbiter_if.h \ simple_bus_blocking_if.h \ simple_bus_direct_if.h \ simple_bus_fast_mem.h \ simple_bus_master_blocking.h \ simple_bus_master_direct.h \ simple_bus_master_non_blocking.h \ simple_bus_non_blocking_if.h \ simple_bus_request.h \ simple_bus_slave_if.h \ simple_bus_slow_mem.h \ simple_bus_test.h \ simple_bus_types.h CXX_FILES = \ simple_bus.cpp \ simple_bus_arbiter.cpp \ simple_bus_main.cpp \ simple_bus_master_blocking.cpp \ simple_bus_master_direct.cpp \ simple_bus_master_non_blocking.cpp \ simple_bus_types.cpp \ simple_bus_tools.cpp LIB_OBJECTS := $(addsuffix .o, $(basename $(CXX_FILES))) ############################################################################################### ### help: @echo "######################" @echo "# compil : Compilation" @echo "# clean : Clean" @echo "######################" ############################ ## COMPILATION ############################ compil: tb $(LIB_OBJECTS): $(CXX_FILES) depend $(CXX) $(CXXFLAGS) -c $< -o $@ tb: $(LIB_OBJECTS) $(CXX) -o tb $(LIB_OBJECTS) $(LIBS) ############################ ## --> Clean ############################ clean: rm -rf tb rm -rf *.o .PHONY: compil clean ############################ ## EMULATION ############################ depend: makedepend $(CXX_FILES) # DO NOT DELETE THIS LINE -- make depend depends on it. |
The missing package is xorg-x11-devel
makedepend is part of xorg (like imake etc.) but in most distros makedepend is a separate package. |
All times are GMT -5. The time now is 11:53 PM. |