Re: Make file
Date: 18 Oct 2002 04:43:17 -0700
Message-ID: <38ccdbd.0210180343.133082fa_at_posting.google.com>
Both development and production cgi scripts are on the same operating system and on the same server. However each site is connected to a different oracle server. Makefile works on the production but not on the development although both makefile codes are identical. It was working and it was generating the executable for 3 months and I'm not sure what happend because it didn't work now.
Please advise.
"Eric Levinson" <nospam_at_nospam.com> wrote in message news:<xtGr9.41274$Ik.903256_at_typhoon.sonic.net>...
> 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 - 13:43:17 CEST
