[Zope] Oracle 8i on Linux

Laurent Chane-Chuen-Kee Laurent.Chane@mvhi.com
Tue, 14 Mar 2000 14:09:29 +0000


This is a multipart MIME message.

--==_Exmh_-10904747230
Content-Type: text/plain; charset=us-ascii


Hi Evan,

here is the setup file I have used to compile DCOracle for 8i.

Cheers,
Laurent



--==_Exmh_-10904747230
Content-Type: text/plain ; name="DCOracle_Setup-8.1.5"; charset=us-ascii
Content-Description: DCOracle_Setup-8.1.5
Content-Disposition: attachment; filename="DCOracle_Setup-8.1.5"

*shared*

# Setup file for Oracle 8.1.5 (Tested for Linux on Intel).
#
# Unfortunately, the libraries needed to link Oracle change from revision
# to revision.  
#
# Oracle provides a make file for building "demo" programs in
# $ORACLE_HOME/rdbms/demo/demo_rdbms.mk.  I have been unable to 
# use this make file to build Python extensions. Adapting it is
# not adequate, because it may change for new Oracle revs.
# My approach is to use demo_rdbms.mk to build one of the
# demo programs, look at the libraries linked, and start from there. :-(
#

ORACLE_INCLUDES=$(ORACLE_HOME)/rdbms/demo -I$(ORACLE_HOME)/rdbms/public -I$(ORACLE_HOME)/network/public -I$(ORACLE_HOME)/plsql/public

ORACLE_L=-lagent8 -lgsldb8 -lnls8 -lordsdo8 -lsql8 -laurora -lgslr8 -lnoname8 -lordts8 -lsqlplus -lclient8 -lgslssb8 -lnoss8 -lordvir8 -lsvrmgrl -lcommon8 -lgslssf8 -lnro8 -lordvirt8 -ltnsapi8 -lcore8 -lldapclnt8 -lnsslb8 -lplc8 -ltrace8 -lctx8 -lmm -lntcp8 -lplp8 -ltracefe8 -lctxc8 -ln8 -lntcps8 -lpls8 -ltracept8 -lctxs8 -lnbeq8 -lntns8 -lpsa8 -lvsn8 -ldbicx8 -lnhost8 -lnus8 -lserver8 -lgeneric8 -lnl8 -lordaud8 -lslax8 -lgslavl8 -lordimg8 -lslpm

ORACLE_LIBS=$(ORACLE_HOME)/lib/ -L$(ORACLE_HOME)/rdbms/lib  $(ORACLE_HOME)/rdbms/lib/defopt.o $(ORACLE_HOME)/lib/sscoreed.o $(ORACLE_HOME)/lib/nautab.o $(ORACLE_HOME)/lib/naeet.o $(ORACLE_HOME)/lib/naect.o $(ORACLE_HOME)/lib/naedhs.o $(ORACLE_L)

oci_ oci_.c -I$(ORACLE_INCLUDES) -L$(ORACLE_LIBS) -DDCORACLE8

Buffer Buffer.c



--==_Exmh_-10904747230
Content-Type: text/plain; charset=us-ascii

Laurent Chane-Chuen-Kee
A X I O M  (Cambridge) Ltd.
Tel: +44 (0)1223 810 305           Fax: +44 (0)1223 812 889

--==_Exmh_-10904747230--