Re: Installing cx_Oracle on AIX without using "xlc_r"

Kristian Berg <[email protected]>
Newsgroups gmane.comp.python.db.cx-oracle
Message-ID <[email protected]>
 

On 27.11.2013 12:13, Ivanelson Nunes wrote: 

> My only way out is to buy the xlc? If someone to build and compiled in the format aix_ppc cx_Oracle?

No, you can compile cx_Oracle with gcc, but you have to use a Python
binary compiled with gcc to achieve that. When Python is built on aix,
it also creates a wrapper for compiling C modules that can be called
from Python. This is the ld_so_aix program. If you compile python with
xlc, the wrapper will be created with xlc as the compiler and linker. If
you compile python with gcc, it will create a wrapper using gcc. You
can't use a xlc-compiled python to create gcc-compiled modules. So you
either have to rebuild python with gcc and then compile cx_oracle or you
have to get xlc to compile cx_oracle. Now, you can get a free trial of
xlc for aix on ibm's website. Maybe that's sufficient to create a rpm
you can reuse, but make sure to check the licensing terms of the trial
before doing so.

-- 
[Kristian Berg]

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk

_______________________________________________
cx-oracle-users mailing list
cx-oracle-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/cx-oracle-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.