Re: [cx-oracle-users] cx_oracle module AIX6.1 Oracle
Brought to you by:
atuining
From: Tamás G. <gt...@gt...> - 2010-12-14 10:54:01
|
Hi Zane, > What about the suggested > file $(which python); ldd $(which python) > commands? > ??? result ??? > > This is the command setup.py wants to use to compile cx_Oracle - clearly it > uses cc_r, which is an AIX xlc variant. > > cc_r: unrecognized option '-qlanglvl=extc89' > > /opt/freeware/lib/python2.6/config/ld_so_aix cc_r -qlanglvl=extc89 > > -bI:/opt/freeware/lib/python2.6/config/python.exp > > build/temp.aix-6.1-2.6-10g/cx_Oracle.o > > -L/app/oracle/product/11.2.0/dbhome_1/lib > > -L/app/oracle/product/11.2.0/dbhome_1 -lclntsh -o > > build/lib.aix-6.1-2.6-10g/cx_Oracle.so > > cc_r: unrecognized option '-qlanglvl=extc89' > > > > Seems your version of cc_r is not the same as your Python was built with. > So it is even clearer now: Python was build with cc_r, but you want to use gcc - this will not work for sure. Tamás Gulácsi |