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 11/27/2013 09:57 PM, Ivanelson Nunes wrote:
> Problems and more problems. I am installing a new instance of Python, 
> but when I do make, I get an error.
>
> # ./configure --prefix=/usr/lib/python-2.7.6
> # make
>
>     rt.o  Modules/symtablemodule.o  Modules/xxsubtype.o
>             ranlib libpython2.7.a
>             ./Modules/makexp_aix Modules/python.exp . libpython2.7.a;
>      gcc -pthread -L/opt/freeware/lib
>     -Wl,-blibpath:/opt/freeware/lib:/usr/lib:/lib
>     -Wl,-bmaxdata:0x80000000 -Wl,-bE:Modules/python.exp -lld -o python
>      Modules/python.o  libpython2.7.a -ldl    -lm
>     *collect2: fatal error: library libm not found*
>     compilation terminated.
>     make: 1254-004 The error code from the last command is 1.
>
>
You need to install the dependencies for compiling Python first. Check 
out the python page on perzl for a complete list. You dont need 
everything, but most of them. I'd recommend using the rpm spec-file i 
linked you though. Install the srpm for python on perzl first, then drop 
my spec-file into /opt/freeware/src/packages/SPECS/ and compile it with 
"rpm -bb --target ibm-ppc-aix6.1 foo.spec"

-- 
[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.