Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.010 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'subject:Python': 0.05; 'mess': 0.07; 'python': 0.08; 'scripts': 0.09; 'received:209.85.210.174': 0.13; 'received:mail- iy0-f174.google.com': 0.13; '"work': 0.16; "'make": 0.16; 'centos.': 0.16; 'debian,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'iirc,': 0.16; 'installed,': 0.16; 'sudo': 0.16; 'ubuntu,': 0.16; 'wrote:': 0.16; 'jan': 0.19; 'header:In-Reply-To:1': 0.22; 'debian': 0.23; 'seconds': 0.25; 'pm,': 0.26; 'stuff': 0.26; 'message-id:@mail.gmail.com': 0.28; 'source,': 0.28; 'granted,': 0.30; "who'd": 0.30; '(the': 0.30; "didn't": 0.30; 'pretty': 0.30; 'thu,': 0.32; 'source': 0.32; "can't": 0.32; 'to:addr:python-list': 0.33; 'there': 0.33; 'spent': 0.34; '(including': 0.34; 'yesterday': 0.34; 'something': 0.35; 'install': 0.35; 'file': 0.35; 'starting': 0.36; 'run': 0.37; 'but': 0.37; 'received:google.com': 0.37; 'steven': 0.38; 'received:209.85': 0.38; 'speak': 0.38; 'received:209': 0.39; 'greatly': 0.39; 'subject:: ': 0.39; 'did': 0.39; 'to:addr:python.org': 0.40; 'most': 0.60; 'matter': 0.61; 'total': 0.61; 'your': 0.61; 'minutes': 0.65; '19,': 0.68; './configure': 0.84; '8-10': 0.84; 'surprise': 0.97 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=tW75mN/v+W8Rh/626Z0j7y3SmxD7yeXoKg+9sr7NMLs=; b=FpW+1sXLKwE3ffWEQ5mLiQvTh0ddUIHa0JFuiUQHSCCG0NA3PU6fDDaz54xW1RzzUi ZtJzTgPHhcJhZ4g+uSsTepnFTD9MFmtO69GuKualeh+g5LORUOvpw3nwhwnctLlv9fNd gB9fDhXHw6wZF84CFExTpdunS7i0IXsfLUseE= MIME-Version: 1.0 In-Reply-To: <4f179db1$0$14012$c3e8da3$76491128@news.astraweb.com> References: <4f1708cc$0$1649$742ec2ed@news.sonic.net> <4f179db1$0$14012$c3e8da3$76491128@news.astraweb.com> Date: Thu, 19 Jan 2012 20:43:23 +1100 Subject: Re: Installing Python on CentOS 6 - a big pain From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 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: 29 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1326966207 news.xs4all.nl 6929 [2001:888:2000:d::a6]:36991 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:19119 On Thu, Jan 19, 2012 at 3:36 PM, Steven D'Aprano wrote: > With all the tools installed, it's a matter of a few minutes effort to > build from scratch: > > run ./configure > run make > run sudo make altinstall > > As a total n00b who'd never used make before, it took me 25 minutes > effort on my first attempt, including reading the entire README file > (twice!). Now I have the whole process down to about 30 seconds effort, > and six minutes elapsed time, on my laptop. The first time I built a Python 3, I didn't know about 'make altinstall', and managed to make something of a mess of my system (the default Python is 2.6.6 on Ubuntu, IIRC, and there are system scripts that don't work on Py3). But now, it's pretty easy, as yesterday can attest: I did a fresh install of Debian, starting at about 11AM, and by mid-afternoon everything was built and deployed. Most of that time was spent cloning about 8-10 source repositories (including one local one of "work stuff") and building stuff from source, and not one of the programs gave me any trouble. Python 3 was among them. Now, granted, this was Debian and I can't speak for Centos. But it would surprise me greatly if your package manager can't provide build essentials. ChrisA