[Zope-DB] DCOracle2: oci.h with 8i Client install?
Matthew T. Kromer
Fri, 15 Feb 2002 08:33:22 -0500
You have to have the client headers installed to be able to compile your own
version of the file "dco2.so". I provide binaries for Python 1.5.2 and
Python 2.1(.2) but not Python 2.2.
You can either:
Use Python 2.1 and the prebuilt binary, *or*
copy the rdbms/demo, plsql/demo and one other ..../demo directories from
where the server lives to your RedHat platform so that you can build the
beg me pretty please to build a Python 2.2 version of the module (which just
makes more work for me and so I resist the latter).
----- Original Message -----
From: "Dave Carabetta" <firstname.lastname@example.org>
Sent: Wednesday, February 13, 2002 10:46 AM
Subject: [Zope-DB] DCOracle2: oci.h with 8i Client install?
Hi. I am trying to install the DCOracle2 adapter. I am using Zope 2.5.0 with
Python 2.2 on a RedHat 7.2 platform. I have installed the Oracle 8i Client
and properly tested it successfully. When I go to run "make" to build the
binary, I get an error towards the end of the script which says the
make: Entering directory
gcc -fPIC -DNDEBUG -g -O3 -Wall -Wstrict-prototypes
-I/software/oracle/product/ora817/rdbms/public -DORACLE8i -c ././dco2.c -o
././dco2.c:107:17: oci.h: No such file or directory
make: *** [dco2.o] Error 1
make: Leaving directory
There were errors building the dco2 module. This could be because of a
coding error in the dco2 module, or because your Oracle environment is
not set up properly. Please double check that your Oracle environment is
properly established, and that the proper header files exist (e.g.
After speaking with my Oracle DBA about the missing oci.h file, he informed
me that the file is only installed if you do a server installation of Oracle
(v8.1.7). According to all the resources I've read, Oracle 8i Client is all
that's needed to connect Zope with my Oracle database (which is on another
Have I misunderstood the requirements? If not, any thoughts as to how to
resolve this issue? When I restart the Zope server and go through the
management console, ZOracleDA is listed as an Available Object, but an error
is thrown if I click on the link. So at least Zope is picking up the
Thanks in advance.
Join the world's largest e-mail service with MSN Hotmail.
Zope-DB mailing list