Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #95660 > unrolled thread

Re: Installing Python 2.7.5-1 on AIX 6.1

Started byTerry Reedy <tjreedy@udel.edu>
First post2015-08-26 11:29 -0400
Last post2015-08-26 11:02 -0700
Articles 2 — 2 participants

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Installing Python 2.7.5-1 on AIX 6.1 Terry Reedy <tjreedy@udel.edu> - 2015-08-26 11:29 -0400
    Re: Installing Python 2.7.5-1 on AIX 6.1 mhmanarski@gmail.com - 2015-08-26 11:02 -0700

#95660 — Re: Installing Python 2.7.5-1 on AIX 6.1

FromTerry Reedy <tjreedy@udel.edu>
Date2015-08-26 11:29 -0400
SubjectRe: Installing Python 2.7.5-1 on AIX 6.1
Message-ID<mailman.51.1440602998.11709.python-list@python.org>
On 8/26/2015 10:35 AM, Zachary Ware wrote:
> Hi Mark,
>
> On Wed, Aug 26, 2015 at 9:03 AM, Manarski, Mark
> <Mark.Manarski@highmark.com> 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

[toc] | [next] | [standalone]


#95669

Frommhmanarski@gmail.com
Date2015-08-26 11:02 -0700
Message-ID<f6d0b683-3851-4f46-9276-1cee47dc63d0@googlegroups.com>
In reply to#95660
On Wednesday, August 26, 2015 at 11:30:15 AM UTC-4, Terry Reedy wrote:
> 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

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.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web