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


Groups > comp.lang.python > #27550

Re: python 6 compilation failure on RHEL

From Peter Otten <__peter__@web.de>
Subject Re: python 6 compilation failure on RHEL
Date 2012-08-21 07:43 +0200
Organization None
References (4 earlier) <k0u05t$d16$1@news.albasani.net> <mailman.3578.1345490260.4697.python-list@python.org> <k0u877$t3t$2@news.albasani.net> <mailman.3579.1345499354.4697.python-list@python.org> <k0v355$9ma$1@dont-email.me>
Newsgroups comp.lang.python
Message-ID <mailman.3588.1345527794.4697.python-list@python.org> (permalink)

Show all headers | View raw


John Nagle wrote:

> On 8/20/2012 2:50 PM, Emile van Sebille wrote:
>> On 8/20/2012 1:55 PM Walter Hurry said...
>>> On Mon, 20 Aug 2012 12:19:23 -0700, Emile van Sebille wrote:
>>>
>>>> Package dependencies.  If the OP intends to install a package that
>>>> doesn't support other than 2.6, you install 2.6.
>>>
>>> It would be a pretty poor third party package which specified Python 2.6
>>> exactly, rather than (say) "Python 2.6 or later, but not Python 3"
> 
>     After a thread of clueless replies, it's clear that nobody
> responding actually read the build log.  Here's the problem:

There are a lot of clueless statements on websites around the world.
I'll just quote the one significant comment on the lysium.de page:

"""
There's actually no need to apply your patch to setup.py. Python complains 
about not being able to build those modules, but it will still build and 
install just fine without them.
#6  Alexander Fairley  on 2009-01-19 01:43
"""

which is unfortunately burried under an avalanche of "satisfied customer" 
replies. Alexander, you're my hero ;)

> 
>   Failed to find the necessary bits to build these modules:
> bsddb185
> dl
> imageop
> sunaudiodev
> 
> What's wrong is that the Python 2.6 build script is looking for
> some antiquated packages that aren't in a current RHEL.  Those
> need to be turned off.
> 
> This is a known problem (see
> http://pythonstarter.blogspot.com/2010/08/bsddb185-sunaudiodev-python-26-
ubuntu.html)
> but, unfortunately, the site with the patch for it
> (http://www.lysium.de/sw/python2.6-disable-old-modules.patch)
> is no longer in existence.
> 
> But someone archived it on Google Code, at
> 
> http://code.google.com/p/google-earth-enterprise-
compliance/source/browse/trunk/googleclient/geo/earth_enterprise/src/third_party/python/python2.6-
disable-old-modules.patch
> 
> so if you apply that patch to the setup.py file for Python 2.6, that
> ought to help.

That patch prevents setup.py from adding a few names of rarely 
needed/available modules to the list of missing modules. That's snakeoil.

OP: You can safely ignore the error message, the patch has no real-world 
effect.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: python 6 compilation failure on RHEL Kwpolska <kwpolska@gmail.com> - 2012-08-20 19:12 +0200
  Re: python 6 compilation failure on RHEL Walter Hurry <walterhurry@lavabit.com> - 2012-08-20 17:20 +0000
    Re: python 6 compilation failure on RHEL Emile van Sebille <emile@fenx.com> - 2012-08-20 11:02 -0700
      Re: python 6 compilation failure on RHEL Walter Hurry <walterhurry@lavabit.com> - 2012-08-20 18:37 +0000
        Re: python 6 compilation failure on RHEL Emile van Sebille <emile@fenx.com> - 2012-08-20 12:19 -0700
          Re: python 6 compilation failure on RHEL Walter Hurry <walterhurry@lavabit.com> - 2012-08-20 20:55 +0000
            Re: python 6 compilation failure on RHEL Emile van Sebille <emile@fenx.com> - 2012-08-20 14:50 -0700
              Re: python 6 compilation failure on RHEL John Nagle <nagle@animats.com> - 2012-08-20 21:34 -0700
                Re: python 6 compilation failure on RHEL Peter Otten <__peter__@web.de> - 2012-08-21 07:43 +0200
                Re: python 6 compilation failure on RHEL Emile van Sebille <emile@fenx.com> - 2012-08-20 23:11 -0700
                Re: python 6 compilation failure on RHEL Jerry Hill <malaclypse2@gmail.com> - 2012-08-21 08:06 -0400

csiph-web