[cx-oracle-users] Problems installing cx_oracle on linux 2.4.26 oracle 8.1.7
Brought to you by:
atuining
From: Gustavo R. <gu...@gr...> - 2005-12-23 13:50:46
|
Hi All I'm having problems installing the cx_Oracle. The output is below. before running python setup.py install I executed export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib Thanks Gustavo Output: **************************************************************** running install running build running build_ext building 'cx_Oracle' extension creating build creating build/temp.linux-i686-2.4 gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/local/oracle/rdbms/demo -I/usr/local/oracle/rdbms/public -I/usr/local/oracle/network/public -I/usr/local/include/python2.4 -c cx_Oracle.c -o build/temp.linux-i686-2.4/cx_Oracle.o -DBUILD_TIME="December 23, 2005 07:28:07" In file included from /usr/local/oracle/rdbms/demo/oci.h:1648, from cx_Oracle.c:9: /usr/local/oracle/rdbms/demo/oci1.h:148: warning: function declaration isn't a prototype In file included from /usr/local/oracle/rdbms/demo/oci.h:1673, from cx_Oracle.c:9: /usr/local/oracle/rdbms/demo/ociap.h:6271: warning: function declaration isn't a prototype /usr/local/oracle/rdbms/demo/ociap.h:8753: warning: function declaration isn't a prototype /usr/local/oracle/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:89, from Cursor.c:211, from Connection.c:303, from cx_Oracle.c:75: NumberVar.c: In function `NumberVar_SetValue': NumberVar.c:178: warning: passing arg 4 of `OCINumberFromText' discards qualifiers from pointer target type In file included from Variable.c:93, from Cursor.c:211, from Connection.c:303, from cx_Oracle.c:75: DateTimeVar.c: In function `DateTimeVar_SetValue': DateTimeVar.c:81: warning: unused variable `status' In file included from cx_Oracle.c:75: Connection.c: In function `Connection_Begin': Connection.c:650: error: `XID' undeclared (first use in this function) Connection.c:650: error: (Each undeclared identifier is reported only once Connection.c:650: error: for each function it appears in.) Connection.c:650: error: parse error before "xid" Connection.c:658: error: `MAXGTRIDSIZE' undeclared (first use in this function) Connection.c:662: error: `MAXBQUALSIZE' undeclared (first use in this function) Connection.c:680: error: `xid' undeclared (first use in this function) error: command 'gcc' failed with exit status 1 |