python 6 compilation failure on RHEL

John Nagle nagle at animats.com
Tue Aug 21 00:34:43 EDT 2012


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






More information about the Python-list mailing list