Installing Python 2.7.5-1 on AIX 6.1

2015-08-26 Thread Manarski, Mark
I have downloaded the "python-2.7.5-1.aix6.1.ppc.rpm" package from the IBM 
Linux ToolBox site.

When I try to install the python rpm package, it fails because it's looking for 
(7) dependencies listed below.  The dependencies listed do seem to exist on the 
server, and I have also successfully installed the openssl-0.9.8zg package on 
the server.

Has anyone successfully installed Python 2.7 on AIX, and if so, did you need to 
remediate any of these dependencies?

Thanks

libcrypto.a(libcrypto.so.0.9.8) is needed by python-2.7.5-1
libexpat.a(libexpat.so.1) is needed by python-2.7.5-1
libgdbm.a(libgdbm.so.3) is needed by python-2.7.5-1
libreadline.a(libreadline.so.6) is needed by python-2.7.5-1
libssl.a(libssl.so.0.9.8) is needed by python-2.7.5-1
libtcl8.4.so is needed by python-2.7.5-1
libtk8.4.so is needed by python-2.7.5-1

Mark M.

-- 
https://mail.python.org/mailman/listinfo/python-list


RE: Re: Installing Python 2.7.5-1 on AIX 6.1

2015-08-26 Thread Manarski, Mark
Terry, Zachary...  thank you for the quick reply.

I believe I resolved my issue by adding the "--nodeps" option when I installed 
Python using the rpm package.  The command line I used was...

# rpm -i --nodeps python-2.7.5-1.aix6.1.ppc.rpm

Using that command line, the Python libraries seemed to install correctly in my 
/usr/lib directory, bypassing any of these unnecessary dependencies.

Thanks again.


-Original Message-
From: Python-list 
[mailto:python-list-bounces+mark.manarski=bcnepa@python.org] On Behalf Of 
Terry Reedy
Sent: Wednesday, August 26, 2015 11:29 AM
To: python-list@python.org
Subject: [EXTERNAL] Re: Installing Python 2.7.5-1 on AIX 6.1

On 8/26/2015 10:35 AM, Zachary Ware wrote:
> Hi Mark,
>
> On Wed, Aug 26, 2015 at 9:03 AM, Manarski, Mark 
>  wrote:
>> I have downloaded the “python-2.7.5-1.aix6.1.ppc.rpm” package from 
>> the IBM Linux ToolBox site.
>>
>> When I try to install the python rpm package, it fails because it’s 
>> looking for (7) dependencies listed below.  The dependencies listed 
>> do seem to exist on the server, and I have also successfully 
>> installed the openssl-0.9.8zg package on the server.
>>
>> Has anyone successfully installed Python 2.7 on AIX, and if so, did 
>> you need to remediate any of these dependencies?
>
> I have absolutely no experience with AIX.  However, I can tell you 
> that none of the 'dependencies' listed below are absolutely necessary.
>
>> libcrypto.a(libcrypto.so.0.9.8) is needed by python-2.7.5-1
>
> This is used by the hashlib module (and possibly _ssl; I'm not sure).
>
>> libexpat.a(libexpat.so.1) is needed by python-2.7.5-1
>
> This is used in the xml package.
>
>> libgdbm.a(libgdbm.so.3) is needed by python-2.7.5-1
>
> Used in the dbm package.
>
>> libreadline.a(libreadline.so.6) is needed by python-2.7.5-1
>
> Used in the REPL and readline module.
>
>> libssl.a(libssl.so.0.9.8) is needed by python-2.7.5-1
>
> Used in _ssl.
>
>> libtcl8.4.so is needed by python-2.7.5-1 libtk8.4.so is needed by 
>> python-2.7.5-1

8.4 is more or less obsolete.  8.5 came out 8 years ago and has had many bugs 
fixed (now at 8.5.18).  8.6 came out 2 years ago and is even better.

> Used by Tkinter.

If you want to use tkinter, you should, if possible, start with the latest 
8.6.0.4 or whatever.

> So without those dependencies, those modules won't work, but 
> everything else will.
>
> You may have better luck building Python yourself, and you'll get a 
> much newer Python that way.

And up to date dependencies.

>  We have an AIX buildbot that may be able to teach you a bit from the 
> logs:
>
> configure: 
> http://buildbot.python.org/all/builders/PPC64%20AIX%202.7/builds/1237/
> steps/configure/logs/stdio
> compile: 
> http://buildbot.python.org/all/builders/PPC64%20AIX%202.7/builds/1237/
> steps/compile/logs/stdio
>
> Hope this helps,
>


--
Terry Jan Reedy


-- 
https://mail.python.org/mailman/listinfo/python-list
-- 
https://mail.python.org/mailman/listinfo/python-list