Re: Make file

From: Eric Levinson <nospam_at_nospam.com>
Date: Thu, 17 Oct 2002 22:04:13 GMT
Message-ID: <xtGr9.41274$Ik.903256_at_typhoon.sonic.net>


[Quoted] It looks like your PROC compiler executable is not in your PATH in your production environment.

FYI, if both systems run the same OS, you don't need to recompile the code on your production side. You can just FTP over the binary EXE and it will work.

Eric

"Naser El-Bathy" <nelbathy_at_ford.com> wrote in message news:38ccdbd.0210170915.256d1777_at_posting.google.com...
> 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/durga ntt.exe:
> not found
>
>
> The error I recieve on UNIX:
> 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.h
Received on Fri Oct 18 2002 - 00:04:13 CEST

Original text of this message