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


Groups > comp.lang.python > #27549

Re: python 6 compilation failure on RHEL

From John Nagle <nagle@animats.com>
Newsgroups comp.lang.python
Subject Re: python 6 compilation failure on RHEL
Date 2012-08-20 21:34 -0700
Organization A noiseless patient Spider
Message-ID <k0v355$9ma$1@dont-email.me> (permalink)
References (3 earlier) <mailman.3572.1345485645.4697.python-list@python.org> <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>

Show all headers | View raw


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:

  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.

You might be better off building Python 2.7, but you asked about 2.6.

				John Nagle


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