[cx-oracle-users] compilation of debian sarge w/ oracle 8.1.7
Brought to you by:
atuining
|
From: <ra...@tn...> - 2004-03-24 18:03:23
|
I'm trying to set cx_Oracle (latest version) up on Debian testing using
python2.3 and oracle 8.1.7. I'm getting errors as follows:
oracle@DWSDELL2500:/home/randall/downloads/tarballs/cx_Oracle-4.0.1$
python setu
p.py build
running build
running build_ext
building 'cx_Oracle' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall
-Wstrict-prototypes -fPI
C -I/opt/oracle/OraHome1/rdbms/demo -I/opt/oracle/OraHome1/rdbms/public
-I/opt/o
racle/OraHome1/network/public -I/usr/include/python2.3 -c cx_Oracle.c -o
build/t
emp.linux-i686-2.3/cx_Oracle.o -DBUILD_TIME="March 24, 2004 11:58:36"
In file included from /opt/oracle/OraHome1/rdbms/demo/oci.h:1648,
from cx_Oracle.c:9:
/opt/oracle/OraHome1/rdbms/demo/oci1.h:148: warning: function
declaration isn't
a prototype
In file included from /opt/oracle/OraHome1/rdbms/demo/oci.h:1673,
from cx_Oracle.c:9:
/opt/oracle/OraHome1/rdbms/demo/ociap.h:6271: warning: function
declaration isn'
t a prototype
/opt/oracle/OraHome1/rdbms/demo/ociap.h:8753: warning: function
declaration isn'
t a prototype
/opt/oracle/OraHome1/rdbms/demo/ociap.h:8759: warning: function
declaration isn'
t a prototype
cx_Oracle.c:10:16: xa.h: No such file or directory
In file included from Variable.c:85,
from Cursor.c:211,
from Connection.c:327,
from cx_Oracle.c:67:
NumberVar.c: In function `NumberVar_SetValue':
NumberVar.c:177: warning: passing arg 4 of `OCINumberFromText' discards
qualifie
rs from pointer target type
In file included from cx_Oracle.c:67:
Connection.c: In function `Connection_Begin':
Connection.c:655: error: `XID' undeclared (first use in this function)
Connection.c:655: error: (Each undeclared identifier is reported only
once
Connection.c:655: error: for each function it appears in.)
Connection.c:655: error: parse error before "xid"
Connection.c:663: error: `MAXGTRIDSIZE' undeclared (first use in this
function)
Connection.c:667: error: `MAXBQUALSIZE' undeclared (first use in this
function)
Connection.c:685: error: `xid' undeclared (first use in this function)
error: command 'gcc' failed with exit status 1
Can you please tell me what is going wrong. I installed the oracle
client developer software.
Randall
|