Make file
Date: 17 Oct 2002 10:15:49 -0700
Message-ID: <38ccdbd.0210170915.256d1777_at_posting.google.com>
[Quoted] Below is my makefile. When I run it on my development databas, I get the error below. However, I'm able to run it without any errors on the production database.
I have two databases. One for development site and the second for the production site.
Please advise me.
The error I recieve on the web page:
sh: /export/ford/pt8387/u/local/netscape/server4/bin/dev/proj/durgantt/bin/durgantt.exe:
not found
The error I recieve on UNIX:
[Quoted] pt8387-root1# make -f durgantt.make exe="durgantt.exe"
objs="durgantt.o"
proc ireclen=255 lines=yes include=/export/ford/pt8387/u/oracle/lib
sqlcheck=s
emantics userid=durgantt_web_at_fcdb1ax_DEVA.world
-L/ford/pt8387/u/oracle/lib ina
me=db_setup.pc
sh: proc: not found
*** Error code 1
make: Fatal error: Command failed for target `db_setup.c'
pt8387-root1#
Makefile:
TARGET = durgantt.exe
SOURCE = main.c \
engine_test.c \ schedule.c \ my_alloc.c \ array.c \ hash.c \ date.c \ db_setup.pc \ db_error.pc \ db_engine_test.pc \ db_calendar.pc \ db_cell.pc \ db_name.pc
ORACLE_HOME = /export/ford/pt8387/u/oracle
PROC_ENV_FLAGS =
CC_ENV_FLAGS =
$(TARGET): $(SOURCE) $(SOURCE:.pc=.c) $(SOURCE:.pc=.o)
$(CC) $(CFLAGS) $(LDFLAGS) -t -o $(TARGET) \ $(SOURCE:.pc=.o) -L$(ORACLE_HOME)/lib $(PROLDLIBS) -lgen clean: rm -f durgantt.exe *.o db_*.c
include $(ORACLE_HOME)/precomp/env_precomp.mk include $(ORACLE_HOME)/precomp/demo/proc/proc.mk
PROCFLAGS = ireclen=255 lines=yes $(PROC_ENV_FLAGS) \
include=/ford/thishost/u/oracle/lib sqlcheck=semantics \ userid=durgantt_web_at_fcdb1ax_DEVA.world
-L/ford/thishost/u/oracle/lib
PROFLAGS = $(PROCFLAGS) CFLAGS = -I -g $(CC_ENV_FLAGS) -L/ford/thishost/u/oracle/lib
### # File dependencies ###
main.o: array.h global.h engine_test.h
my_alloc.o: global.h
array.o: array.h
hash.o: hash.h
date.o: date.h global.h hash.h
engine_test.o: global.h engine_test.h array.h schedule.o: array.h schedule.h db_engine_test.h db_calendar.h date.h engine_test.h
db_setup.o: db_error.o: global.h db_engine_test.o: global.h db_global.h engine_test.h array.h db_calendar.o: array.h global.h db_global.hReceived on Thu Oct 17 2002 - 19:15:49 CEST