Installing WOW Gateway on RS/6000 (v7.0.15.4.0)
Date: 11 Feb 1995 15:38:16 GMT
Message-ID: <3hill8$69l_at_elmo.tju.edu>
Hello.
I have RS/6000 running Oracle v7.0.15.4.0 and am trying to install WOW Gateway (which came from Oracle World Wide Web Interface Kit). WOW is an Oracle utility that allows you to develop CGI gateways for Web-servers with PL/SQL in Oracle 7 database.
According to the documentation, it has been configured to run on sun4 and sun5 running Oracle version 7.1.3. I've been trying to modify the Makefile to make it to compile on my system, without any success. I tried to call the Oracle Tech Support, but nobody there seems to know anything about this yet. I am curious to know if anybody tried to install WOW Gateway on RS/6000 and have suceeded doing it.
I believe $ORALIBS needs to be modified to suit any Oracle that's not version 7.1.3. I am attaching the Makefile just in case somebody knows how $ORALIBS should be modified. Thanks.
--Insoo
# -ml10/14/94.
# CHANGE ORACLE_HOME, DOC_ROOT and DEST_DIR
ORACLE_HOME=/oracle/v70154 DEST_DIR=/usr/local/etc/httpd/cgi-bin DOC_ROOT=/usr/local/etc/httpd/htdocs/insoo/wow ICON_DIR=/usr/local/etc/httpd/htdocs/insoo/img
# CHANGE to suit your Oracle (client) installation
ORA713_LIBS = -L$(ORACLE_HOME)/lib -locic \
$(ORACLE_HOME)/lib/osntab.o -lsqlnet -lora -lsqlnet -lora -lnlsrtl \
-lcv6 -lcore -lnlsrtl -lcv6 -lcore -lm
# CHOOSE a compiler
CC=cc
#CFLAGS=-g $(INCLUDE) -DDEBUG
CFLAGS=-g $(INCLUDE)
LDFLAGS=-Bdynamic
#CC=/usr/local/bin/gcc
#CFLAGS= -g -ansi -Wformat $(INCLUDE) -DDEBUG
#LDFLAGS=
ORALIBS=$(ORA713_LIBS)
# directory that contain oratypes.h and other oci demo program header files
# NOTE: There is a bug in oratypes.h - just remove the word "signed" from
# the line CC is complaining about!
INCLUDE= -I$(ORACLE_HOME)/rdbms/demo
wowstub: wowstub.o oci.o util.o
$(ECHO) $(CC) $(LDFLAGS) -o $_at_ wowstub.o util.o oci.o $(ORALIBS) $(CLIB)
update: wowstub
mv wowstub $(DEST_DIR)
install: wowstub
cp wow $(DEST_DIR) mv wowstub $(DEST_DIR) cp wow.html index.html wow.gif $(DOC_ROOT) cp *.gif $(ICON_DIR) _at_echo "Change the line in wow.sql with" _at_echo "thepage(1):=htf.gif('/images/wow.gif');" _at_echo "to reflect where you install the image wow.gif" _at_echo "wow.gif will initially be installed in" _at_echo $(DEST_DIR) _at_echo "Please run ht.sql, wow.sql, emp.sql, showemp.sql, hanoi.sql and" _at_echo "math.sql in that order!" _at_echo " _at_echo "Also, please remember to change variables in /cgi-bin/wow" _at_echo "to reflect your installation!"
wowstub.o: wowstub.h oci.h
oci.o: oci.h
clean:
rm -f *~ *.o wowstub sqlnet.log
ship:
rm -f *~ *.o wowstub sqlnet.log _at_(cd ..;tar cvf - ./wow | compress -c > /oraweb/htdocs/ftp/sdk10/wow.ta) ship.sun4: wowstub cd ..; tar cvf - ./wow/wowstub | compress -c > /oraweb/htdocs/ftp/sdk10ZReceived on Sat Feb 11 1995 - 16:38:16 CET