[Zope-DB] Installing DCOracle2 without installing Oracle

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


Hello,

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-10.1.0.2-1 rpm
(http://download.oracle.com/otn/linux/instantclient/oracle-instantclient-basic-10.1.0.2-1.i386.rpm)

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

The rpm installed the following files: 
                                         
/usr/lib/oracle/10.1.0.2/client/lib/classes12.jar
/usr/lib/oracle/10.1.0.2/client/lib/libclntsh.so.10.1
/usr/lib/oracle/10.1.0.2/client/lib/libnnz10.so
/usr/lib/oracle/10.1.0.2/client/lib/libocci.so.10.1
/usr/lib/oracle/10.1.0.2/client/lib/libociei.so
/usr/lib/oracle/10.1.0.2/client/lib/libocijdbc10.so
/usr/lib/oracle/10.1.0.2/client/lib/ojdbc14.jar

I set ORACLE_HOME to:
/usr/lib/oracle/10.1.0.1/client

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
-DUSEOWNXID

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/10.1.0.2/client//rdbms/demo
-I/usr/lib/oracle/10.1.0.2/client//network/public
-I/usr/lib/oracle/10.1.0.2/client//plsql/public
-I/usr/lib/oracle/10.1.0.2/client//rdbms/public -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