Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!eweka.nl!hq-usenetpeers.eweka.nl!xlned.com!feeder1.xlned.com!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; '"""': 0.05; 'bits': 0.07; 'problem:': 0.07; 'responding': 0.07; 'setup.py': 0.07; 'python': 0.09; 'effect.': 0.09; 'modules.': 0.09; 'prevents': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'thread': 0.11; 'subject:python': 0.11; 'aug': 0.13; 'ignore': 0.13; '"python': 0.16; 'alexander': 0.16; 'complains': 0.16; 'hero': 0.16; 'log.': 0.16; 'modules,': 0.16; 'received:80.91.229.3': 0.16; 'received:dip.t-dialin.net': 0.16; 'received:plane.gmane.org': 0.16; 'received:t-dialin.net': 0.16; 'setup.py.': 0.16; 'mon,': 0.16; 'wrote:': 0.17; '>>>': 0.18; 'code,': 0.18; 'help.': 0.22; 'specified': 0.23; 'patch': 0.24; 'script': 0.24; 'header:User- Agent:1': 0.26; '(see': 0.27; '2.6': 0.27; "doesn't": 0.28; 'header:X-Complaints-To:1': 0.28; 'fine': 0.28; '-0700,': 0.29; '>>>>': 0.29; 'statements': 0.29; 'url:code': 0.29; 'van': 0.29; 'install': 0.29; 'error': 0.30; 'file': 0.32; "aren't": 0.33; 'safely': 0.33; 'problem': 0.33; 'to:addr:python-list': 0.33; 'skip:d 20': 0.34; 'wrong': 0.34; 'third': 0.34; 'list': 0.35; 'clear': 0.35; 'pm,': 0.35; 'there': 0.35; 'received:org': 0.36; 'but': 0.36; 'modules': 0.36; "i'll": 0.36; 'being': 0.37; 'rather': 0.37; 'subject:: ': 0.38; 'comment': 0.38; 'some': 0.38; 'to:addr:python.org': 0.39; 'apply': 0.39; 'build': 0.39; 'google': 0.39; 'header:Received:5': 0.40; 'your': 0.60; 'john': 0.60; 'skip:u 10': 0.60; 'url:p': 0.63; 'skip:n 10': 0.63; 'url:blogspot': 0.64; 'real-world': 0.65; 'websites': 0.66; 'alexander,': 0.84; 'existence.': 0.84; 'replies.': 0.84; 'clueless': 0.91; 'intends': 0.91 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Peter Otten <__peter__@web.de> Subject: Re: python 6 compilation failure on RHEL Date: Tue, 21 Aug 2012 07:43 +0200 Organization: None References: Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Gmane-NNTP-Posting-Host: p5084b0c0.dip.t-dialin.net User-Agent: KNode/4.7.3 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 61 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1345527794 news.xs4all.nl 6857 [2001:888:2000:d::a6]:53676 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:27550 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.