[Zope-DB] Installing DCOracle2 without installing Oracle

Emily Stumpf evstumpf at ucdavis.edu
Tue Aug 10 17:54:31 EDT 2004


I am trying to install DCOracle2 onto my Redhat Enterprise WS machine 
but I don't want to have to actually install all of Oracle.  I was
wondering if anyone's successfully installed DCOracle2 this way, or if
anyone has any insight about my attempts so far.

I installed the oracle-instantclient-basic- rpm

...and I'm still having trouble getting dco2 to compile.

The rpm installed the following files: 


DCOracle2/src/Makefile and DCOracle2/src/Setup have this line:

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

The the rdbms and plsql directories seem not to exist in My ORACLE_HOME,
and I am wondering how important these are :P

I think I am missing at least an oci.h file on my system but not sure where
that's supposed to go...

Anyways, here is my current error..
# make
( cd src; \
make || ./builderrors)
make[1]: Entering directory `/usr/local/zope/lib/python/Products/DCOracle2/src'
gcc -pthread -fPIC -DNDEBUG -g -O3 -Wall -Wstrict-prototypes
-I/usr/include/python2.3 -I/usr/include/python2.3 @DEFS@  
-I/usr/lib/oracle/ -DORACLE9i -DUSEOWNXID -c
././dco2.c -o ./dco2.o
gcc: cannot specify -o with -c or -S and multiple compilations
make[1]: *** [dco2.o] Error 1

Help desired :)
-- Emily 

More information about the Zope-DB mailing list