: command not found
make: *** [appname] Error 127
I am using a linux box and the same makefile and the srcs work in my local computer as root, but when I try to upload it to a server then I get this error for that particular set of sources, its a CGI application in C. Other similar makefiles work like charm and I am having problem with this particular folder only. Applying my commonsense I did
chmod -R 777 srcfolder

but this didn't help I keep getting the error. I can use gcc,g++ and plld a front-end compiler and linker of C-files for prolog from the command line so there isn't much problem int that.The very thing that is amusing me is that a similar makefile in other directory under the same username works like a charm. Aggghhhh...I am getting frustrated..

here is the makefile if it is due to any error on this one


#///////////////////////////////////////////////////////////////////////
# This makefile generates the final executable to be used as cgi
# from C/C++ and Prolog source files. The output is is stored in ../bin
# directory.


# additional include directory
INCLUDE=../include/


# prolog source files
PL=../../pl/Appname.pl

# CPP files
C_FILES=Interface.cpp Translator.cpp Utilities.cpp translitconverter.cpp lp.cpp

# install directory
INSTALL_DIR=../bin/appname

appname: $(C_FILES) $(PL)
@if [ -d "../bin" ]; \
then \
echo "Directory ../bin already exist!" ;\
else \
echo "Creating ../bin directory.";\
mkdir ../bin;\
fi;\
echo "Compiling and Generating executables.";\
plld -pl-options*-q -cc-options*-I$(INCLUDE) $(PL) $(C_FILES) -o $(INSTALL_DIR)

Any help would be appreciated...