How to install python on the AIX 5.2?

Hi folks,

Could tell me how to install python on the AIX 5.2 ? What better method for install: rpm or compiling?

Regards.

I think, you can find only very old versions of Python compiled for AIX 5.2. And I am not sure, if some modern version of Python (> 2.6) can be compiled on AIX 5.2.

---------- Post updated at 08:43 PM ---------- Previous update was at 08:42 PM ----------

Perzl has python 2.6.8 for AIX 5.1. It should run on AIX 5.2 too.

ftp://www.oss4aix.org/latest/aix52/

Hi agent.kgb,

Thanks for your support, I tried using this link, but when I'm starting to install the package python, appears this error:

server:/tmp/python# rpm -i python-2.6.8-1.aix5.1.ppc.rpm
error: failed dependencies:
        tk >= 8.5.8-1 is needed by python-2.6.8-1
server:/tmp/python# rpm -i tk-8.6.3-1.aix5.1.ppc.rpm
error: failed dependencies:
        libXft >= 2.1.14 is needed by tk-8.6.3-1
        libX11.a(shr4.o) is needed by tk-8.6.3-1
        libXext.a(shr.o) is needed by tk-8.6.3-1
        libXft.a(libXft.so.2) is needed by tk-8.6.3-1
server:/tmp/python# rpm -i libXft-2.3.2-1.aix5.1.ppc.rpm
error: failed dependencies:
        libXrender >= 0.9.8-1 is needed by libXft-2.3.2-1
        libX11.a(shr4.o) is needed by libXft-2.3.2-1
        libXrender.a(libXrender.so.0) is needed by libXft-2.3.2-1
        libXrender.a(libXrender.so.1) is needed by libXft-2.3.2-1
server:/tmp/python# rpm -i libXrender-0.9.8-1.aix5.1.ppc.rpm
error: failed dependencies:
        libX11.a(shr4.o) is needed by libXrender-0.9.8-1
server:/tmp/python#

Which package I can install to repair this error?

Regards.

Did you check that you have installed X11 libraries?

# ls -l /usr/lib/libX11.a
# lslpp -L 'X11.*'

Sorry, I don't remember the exact name of the fileset, where libX11.a is, and don't have any AIXes near me right now. The list of all X11 filesets can be quite long depending on your installation.

If you have libX11.a and X11 filesets are installed, just ignore the message:

# rpm -ivh --nodeps libXrender*rpm

Hi agent.kgb,

It's working fine.

Thanks for your support.