Re: [cx-oracle-users] compilation of debian sarge w/ oracle 8.1.7
Brought to you by:
atuining
From: Anthony T. <an...@co...> - 2004-03-24 18:43:38
|
It looks to me like you're missing the xa.h include file. This seems to happen with default "client" installations of Oracle 8.1.x. It isn't exactly straightforward either how to get that file included in your installation so if you can't figure it out, let me know and I'll e-mail you a copy. On Wed, 2004-03-24 at 11:03, ra...@tn... wrote: > 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 > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > cx-oracle-users mailing list > cx-...@li... > https://lists.sourceforge.net/lists/listinfo/cx-oracle-users -- Anthony Tuininga an...@co... Computronix Distinctive Software. Real People. Suite 200, 10216 - 124 Street NW Edmonton, AB, Canada T5N 4A3 Phone: (780) 454-3700 Fax: (780) 454-3838 http://www.computronix.com |