Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!feeds.phibee-telecom.net!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; 'explicitly': 0.04; 'skip:/ 10': 0.07; 'python': 0.09; '--prefix': 0.09; 'chime': 0.09; 'configure.': 0.09; 'etc).': 0.09; 'filesystem': 0.09; 'pressing': 0.09; 'cc:addr:python-list': 0.10; 'anyway': 0.11; 'thread': 0.11; 'subject:python': 0.11; 'aug': 0.13; '2.7.3?': 0.16; 'binaries': 0.16; 'from:addr:cs': 0.16; 'from:addr:zip.com.au': 0.16; 'from:name:cameron simpson': 0.16; 'install.': 0.16; 'message- id:@cskk.homeip.net': 0.16; 'reason.': 0.16; 'received:202.125.174': 0.16; 'received:202.125.174.133': 0.16; 'received:boardofstudies.nsw.edu.au': 0.16; 'received:cskk.homeip.net': 0.16; 'received:edu.au': 0.16; 'received:harvey.boardofstudies.nsw.edu.au': 0.16; 'received:homeip.net': 0.16; 'received:nsw.edu.au': 0.16; 'simpson': 0.16; 'still,': 0.16; 'later': 0.16; 'mon,': 0.16; 'wrote:': 0.17; 'specify': 0.17; 'version.': 0.17; '>>>': 0.18; 'stick': 0.22; 'cheers,': 0.23; 'cc:2**0': 0.23; 'cc:no real name:2**0': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply- To:1': 0.25; 'header:User-Agent:1': 0.26; 'first,': 0.27; 'question': 0.27; '2.6': 0.27; 'strongly': 0.27; 'vendor': 0.27; "doesn't": 0.28; '(unless': 0.29; '-0700,': 0.29; 'second,': 0.29; 'van': 0.29; 'source': 0.29; 'install': 0.29; 'skip:- 30': 0.31; 'space,': 0.32; 'another': 0.33; 'version': 0.34; 'there': 0.35; 'but': 0.36; 'received:au': 0.36; 'should': 0.36; 'charset:us- ascii': 0.36; 'why': 0.37; 'subject:: ': 0.38; 'some': 0.38; 'easily': 0.39; 'build': 0.39; 'red': 0.60; 'content- disposition:inline': 0.60; 'personal': 0.62; 'beside': 0.84; 'forced': 0.84; 'omission': 0.84; 'versions)': 0.84; 'fyi': 0.91; 'habit': 0.91; 'intends': 0.91 Date: Tue, 21 Aug 2012 08:25:44 +1000 From: Cameron Simpson To: Emile van Sebille Subject: Re: python 6 compilation failure on RHEL MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) References: Cc: python-list@python.org 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: 43 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1345501555 news.xs4all.nl 6889 [2001:888:2000:d::a6]:44148 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:27535 On 20Aug2012 12:19, Emile van Sebille wrote: | On 8/20/2012 11:37 AM Walter Hurry said... | > On Mon, 20 Aug 2012 11:02:25 -0700, Emile van Sebille wrote: | >> On 8/20/2012 10:20 AM Walter Hurry said... | >>> I concur, but FYI the version of Python with RHEL5 is 2.4. Still, OP | >>> should stick with that unless there is a pressing reason. | >> | >> Hence, the 2.6 install. | > | > First, sorry for my omission to trim. | > | > Second, the reason for recommending that OP stick to the Red Hat provided | > version (unless there is a pressing reason) is the question of the | > already-paid-for Red Hat support. | | Generally, when you compile from source the binaries will install to | /usr/local/bin and not be in conflict with RH's install version. I was going to chime in with this anyway had the thread said nothing; I strongly prefer to specify --prefix explicitly with configure. My personal habit to to build with (adjust to match): --prefix=/usr/local/python-2.6.4 and put some symlinks in /usr/local/bin afterwards (python2.6, etc). That way one doesn't tread on the system Python (after all the OS vendor distro is also a collection of packages with coordinated versions) and one can easily put in another python beside it. | > And for that matter, if OP is forced to a later Python 2 version than | > 2.4, why not 2.7.3? | | Package dependencies. If the OP intends to install a package that | doesn't support other than 2.6, you install 2.6. Indeed. And this is a strong reason to keep out of the vendor's /usr filesystem space, also. Cheers, -- Cameron Simpson