Re: Installing cx_Oracle on AIX without using "xlc_r"

Ivanelson Nunes <[email protected]>
Newsgroups gmane.comp.python.db.cx-oracle
Message-ID <CAARDrhMtUTW7pdee8-ShDSPE8XS6tvUtzjOnMxXS4P4Nx_YsHA@mail.gmail.com>
When I installed the rpm's python for perzl, I downloaded all of these:

/opt/freeware/pythonppc
> # ls -tg
> total 234160
> -rw-r--r--    1 system     10022361 Nov 22 00:20
> libstdc++-4.8.2-1.aix6.1.ppc.rpm
> -rw-r--r--    1 system      2667103 Nov 22 00:20
> libstdc++-devel-4.8.2-1.aix6.1.ppc.rpm
> -rw-r--r--    1 system     18117699 Nov 22 00:20
> openssl-1.0.1e-2.aix5.1.ppc.rpm
> -rw-r--r--    1 system      2621760 Nov 22 00:20
> tcl-8.5.15-1.aix5.1.ppc.rpm
> -rw-r--r--    1 system      9934241 Nov 22 00:20
> gcc-gfortran-4.8.2-1.aix6.1.ppc.rpm
> -rw-r--r--    1 system       130215 Nov 22 00:20
> libffi-3.0.13-1.aix5.1.ppc.rpm
> -rw-r--r--    1 system       886300 Nov 22 00:20
> libgcc-4.8.2-1.aix6.1.ppc.rpm
> -rw-r--r--    1 system       517814 Nov 22 00:20
> libgomp-4.8.2-1.aix6.1.ppc.rpm
> -rw-r--r--    1 system     18087017 Nov 22 00:20 gcc-4.8.2-1.aix6.1.ppc.rpm
> -rw-r--r--    1 system      6571520 Nov 22 00:20
> gcc-c++-4.8.2-1.aix6.1.ppc.rpm
> -rw-r--r--    1 system      5866258 Nov 22 00:20
> gcc-cpp-4.8.2-1.aix6.1.ppc.rpm
> -rw-r--r--    1 system       122731 Nov 22 00:20
> bzip2-1.0.6-1.aix5.1.ppc.rpm
> -rw-r--r--    1 system      3054640 Nov 22 00:20
> db4-4.7.25-2.aix5.1.ppc.rpm
> -rw-r--r--    1 system      3030360 Nov 22 00:20
> db4-cxx-4.7.25-2.aix5.1.ppc.rpm
> -rw-r--r--    1 system      1488021 Nov 22 00:20
> db4-devel-4.7.25-2.aix5.1.ppc.rpm
> -rw-r--r--    1 system      3439979 Nov 22 00:20
> db4-tcl-4.7.25-2.aix5.1.ppc.rpm
> -rw-r--r--    1 system       274950 Nov 22 00:20
> db4-utils-4.7.25-2.aix5.1.ppc.rpm
> -rw-r--r--    1 system       389811 Nov 22 00:20
> expat-2.1.0-1.aix5.1.ppc.rpm
> -rw-r--r--    1 system        57732 Nov 22 00:20
> expat-devel-2.1.0-1.aix5.1.ppc.rpm
> -rw-r--r--    1 system     12077202 Nov 21 23:52
> python-test-2.7.5-1.aix6.1.ppc.rpm
> -rw-r--r--    1 system         9137 Nov 21 23:52
> python-tools-2.7.5-1.aix6.1.ppc.rpm
> -rw-r--r--    1 system       996973 Nov 21 23:52
> tkinter-2.7.5-1.aix6.1.ppc.rpm
> -rw-r--r--    1 system       222491 Nov 21 23:52
> python-devel-2.7.5-1.aix6.1.ppc.rpm
> -rw-r--r--    1 system      4101564 Nov 21 23:52
> python-libs-2.7.5-1.aix6.1.ppc.rpm
> -rw-r--r--    1 system     15140204 Nov 21 23:52
> python-2.7.5-1.aix6.1.ppc.rpm


So I have to download all those again, but in tar format and then install
all?

I got errors:

bash-4.2# rpm -bb --target ibm_ppc=aix6.1
> /opt/freeware/src/packages/SPECS/python-2.7.5.2.spec
> Building target platforms: ibm_ppc=aix6.1
> Building for target ibm_ppc=aix6.1
> File /opt/freeware/src/packages/SOURCES/Python-2.7.5.tar.bz2: A file or
> directory in the path name does not exist.




@ivanelson
[]s


2013/11/28 Kristian Berg <[email protected]>

>  On 28.11.2013 02:28, Ivanelson Nunes wrote:
>
> Is this the spec file?
> ftp://www.oss4aix.org/SPECS/python-2.7.5-1.spec
>
> Because I need to install the dependencies again? I have already installed
> all the RPM's perzl site. I think I just need the Python tarfile. Right or
> Error?
>
> A version of cx_Oracle on aix_ppc rpm would be easier for everyone. : (
>
>  This is the spec-file I created for using gcc:
> https://gist.github.com/kriberg/6351551
>
>
> You need the build dependencies for Python too, in addition to the runtime dependencies.
>
> I'm not sure you even can distribute a rpm of cx_Oracle, as it links with the instant client.
>
> --
> [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
>
>

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