Re: [cx-oracle-users] cx_oracle module AIX6.1 Oracle
Brought to you by:
atuining
From: inkblotter <ink...@gm...> - 2010-12-25 17:58:57
|
Here's a christmas present for you. See the build line that setup.py provides. setup.py invokes the C compiler, not the C++ compiler. So copy and invoke that build line but replace cc_r with xlC_r by hand and presto! you will have built cx_Oracle.o Then you can run 'python setup.py install' and it will install cx_Oracle.so in python. Try it. I just did this on AIX 6.1. On 12/23/2010 01:25 AM, Zane Ally wrote: > *cc_r -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 > -Wall -Wstrict-prototypes > -I/app/oracle/product/11.2.0/dbhome_1/rdbms/demo > -I/app/oracle/product/11.2.0/dbhome_1/rdbms/public > -I/usr/local/include/python2.7 -c cx_Oracle.c -o > build/temp.aix-6.1-2.7-10g/cx_Oracle.o -DBUILD_VERSION=5.0.4* |