Re: Installing Python on CentOS 6 - a big pain

2012-01-23 Thread Benedict Verheyen
On 20/01/2012 12:42, Anssi Saari wrote: > Benedict Verheyen writes: > >> If i need to install a new version of Python, as I happen to have done today, >> I only need to do step 4. Which is maybe 5 minutes of work. > > I don't really understand why you compile these common libraries (zlib, > ncur

Re: Installing Python on CentOS 6 - a big pain

2012-01-20 Thread Anssi Saari
Benedict Verheyen writes: > If i need to install a new version of Python, as I happen to have done today, > I only need to do step 4. Which is maybe 5 minutes of work. I don't really understand why you compile these common libraries (zlib, ncurses, readline) yourself instead of using the relevan

Re: Installing Python on CentOS 6 - a big pain

2012-01-20 Thread rusi
On Jan 20, 2:39 pm, Benedict Verheyen wrote: > On 19/01/2012 5:36, Steven D'Aprano wrote: > > > > > > > > > On Wed, 18 Jan 2012 19:10:43 -0800, alex23 wrote: > > > > > download the tar ball > > extract the contents of the file > > cd into the source directory > > run ./configure > > run make > >

Re: Installing Python on CentOS 6 - a big pain

2012-01-20 Thread Benedict Verheyen
On 19/01/2012 5:36, Steven D'Aprano wrote: > On Wed, 18 Jan 2012 19:10:43 -0800, alex23 wrote: > > > download the tar ball > extract the contents of the file > cd into the source directory > run ./configure > run make > optionally run make test > run sudo make altinstall > > As a total n00b who

Re: Installing Python on CentOS 6 - a big pain

2012-01-19 Thread Chris Angelico
On Thu, Jan 19, 2012 at 10:16 PM, Christian Heimes wrote: > Much easier: > > $ apt-get build-dep python In the specific case where that's available, it's fine. I've not gotten into the habit of trusting it, though, largely because a lot of what I compile _isn't_ in the package manager - otherwise

Re: Installing Python on CentOS 6 - a big pain

2012-01-19 Thread Christian Heimes
Am 19.01.2012 12:05, schrieb Chris Angelico: > What I do is apt-get the most obvious things (g++/gcc and make, in > this case), then run configure and see if it bombs, then run make and > see if it bombs, and whenever there's a "command not found", attempt > to apt-get that command as a package nam

Re: Installing Python on CentOS 6 - a big pain

2012-01-19 Thread Noah Hall
On Thu, Jan 19, 2012 at 10:47 AM, Steven D'Aprano wrote: > On Thu, 19 Jan 2012 20:43:23 +1100, Chris Angelico wrote: > >> 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: > > [...] >> Now,

Re: Installing Python on CentOS 6 - a big pain

2012-01-19 Thread Chris Angelico
On Thu, Jan 19, 2012 at 9:47 PM, Steven D'Aprano wrote: > I daresay any decent package manager would be able to provide the > complete tool chain for building Python from source. But I have no idea > what tools are needed -- gcc and make, obviously, but what else? Maybe it > really is as simple as

Re: Installing Python on CentOS 6 - a big pain

2012-01-19 Thread Steven D'Aprano
On Thu, 19 Jan 2012 20:43:23 +1100, Chris Angelico wrote: > 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: [...] > Now, granted, this was Debian and I can't speak for Centos. But it would

Re: Installing Python on CentOS 6 - a big pain

2012-01-19 Thread Chris Angelico
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 fi

Re: Installing Python on CentOS 6 - a big pain

2012-01-18 Thread Steven D'Aprano
On Wed, 18 Jan 2012 19:10:43 -0800, alex23 wrote: > On Jan 19, 4:00 am, John Nagle wrote: >>    It turns out that installing Python 2.7.2 on CentOS 6.0 is a lot >>    of >> work. > > There must have been some radical changes between Centos 5 & 6, then, as > building Python 2.7 from scratch took

Re: Installing Python on CentOS 6 - a big pain

2012-01-18 Thread alex23
On Jan 19, 4:00 am, John Nagle wrote: >    It turns out that installing Python 2.7.2 on CentOS 6.0 is a lot of > work. There must have been some radical changes between Centos 5 & 6, then, as building Python 2.7 from scratch took all of 10 minutes. >  Here are the official CentOS install instruc

Re: Installing Python on CentOS 6 - a big pain

2012-01-18 Thread Albert W. Hopkins
On Wed, 2012-01-18 at 10:00 -0800, John Nagle wrote: > Python does not "just work". I should be able to command > "yum install python27". (And not clobber the Python 2.6 that > comes with CentOS.) > > This sort of thing is why Python is losing market share. > > Or — and this is the mor

Re: Installing Python on CentOS 6 - a big pain

2012-01-18 Thread Steven D'Aprano
On Wed, 18 Jan 2012 10:00:47 -0800, John Nagle wrote: > This sort of thing is why Python is losing market share. Only on Planet Nagle. Do you have any evidence that Python actually *is* losing market share, or are you just trolling? -- Steven -- http://mail.python.org/mailman/listinfo

Re: Installing Python on CentOS 6 - a big pain

2012-01-18 Thread J.O. Aho
John Nagle wrote: It turns out that installing Python 2.7.2 on CentOS 6.0 is a lot of work. Here are the official CentOS install instructions: http://www.centos.org/modules/newbb/viewtopic.php?topic_id=34515&forum=41 Don't see any official about the post, it's just another forum member who po

Re: Installing Python on CentOS 6 - a big pain

2012-01-18 Thread Benjamin Kaplan
On Wed, Jan 18, 2012 at 1:00 PM, John Nagle wrote: >  It turns out that installing Python 2.7.2 on CentOS 6.0 is a lot of work. >  Here are the official CentOS install instructions: > > http://www.centos.org/modules/newbb/viewtopic.php?topic_id=34515&forum=41 > > Not only do you have to build Pyth

Installing Python on CentOS 6 - a big pain

2012-01-18 Thread John Nagle
It turns out that installing Python 2.7.2 on CentOS 6.0 is a lot of work. Here are the official CentOS install instructions: http://www.centos.org/modules/newbb/viewtopic.php?topic_id=34515&forum=41 Not only do you have to build Python from source, you have to install a lot of stuff before y