Lists: | pgsql-hackers |
---|
From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org> |
Subject: | CVS configure failure |
Date: | 2004-09-21 06:17:32 |
Message-ID: | 200409210617.i8L6HWe03757@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
I get this failure on current CVS running configure --with-python:
checking for python... /usr/local/bin/python
checking for Python distutils module... no
configure: error: distutils module not found
gmake: *** [config.status] Error 1
I have python 1.5(1.5.2?).
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
---|---|
To: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org> |
Subject: | Re: CVS configure failure |
Date: | 2004-09-21 06:39:22 |
Message-ID: | 200409210839.23016.peter_e@gmx.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
Bruce Momjian wrote:
> I get this failure on current CVS running configure --with-python:
>
> checking for python... /usr/local/bin/python
> checking for Python distutils module... no
> configure: error: distutils module not found
> gmake: *** [config.status] Error 1
What part of the error message is giving you trouble? :)
--
Peter Eisentraut
http://developer.postgresql.org/~petere/
From: | Gaetano Mendola <mendola(at)bigfoot(dot)com> |
---|---|
To: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
Subject: | Re: CVS configure failure |
Date: | 2004-09-21 09:23:16 |
Message-ID: | 414FF304.9050607@bigfoot.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
Bruce Momjian wrote:
> I get this failure on current CVS running configure --with-python:
>
> checking for python... /usr/local/bin/python
> checking for Python distutils module... no
> configure: error: distutils module not found
> gmake: *** [config.status] Error 1
>
> I have python 1.5(1.5.2?).
This is the check that I suggest to add recently :-(
See the thread "x86_64 configure problem" on hackers
You need to install the distutils, and how I wrote in that thread, it's
not clear that that module is installed by default when you install
python.
Regards
Gaetano Mendola
From: | Gaetano Mendola <mendola(at)bigfoot(dot)com> |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: CVS configure failure |
Date: | 2004-09-21 11:09:07 |
Message-ID: | cip24k$ale$1@floppy.pyrenet.fr |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
Bruce Momjian wrote:
> I get this failure on current CVS running configure --with-python:
>
> checking for python... /usr/local/bin/python
> checking for Python distutils module... no
> configure: error: distutils module not found
> gmake: *** [config.status] Error 1
>
> I have python 1.5(1.5.2?).
This is the check that I suggest to add recently :-(
See the thread "x86_64 configure problem" on hackers
You need to install the distutils, and how I wrote in that thread, it's
not clear that that module is installed by default when you install
python.
Regards
Gaetano Mendola
From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Gaetano Mendola <mendola(at)bigfoot(dot)com> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: CVS configure failure |
Date: | 2004-09-21 14:16:54 |
Message-ID: | 200409211416.i8LEGsX06476@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
Gaetano Mendola wrote:
> Bruce Momjian wrote:
> > I get this failure on current CVS running configure --with-python:
> >
> > checking for python... /usr/local/bin/python
> > checking for Python distutils module... no
> > configure: error: distutils module not found
> > gmake: *** [config.status] Error 1
> >
> > I have python 1.5(1.5.2?).
>
> This is the check that I suggest to add recently :-(
> See the thread "x86_64 configure problem" on hackers
>
> You need to install the distutils, and how I wrote in that thread, it's
> not clear that that module is installed by default when you install
> python.
So distutils is now required to build python? If that is intended, I
will just skip building python. I didn't realize we had new
requirements for python, but that is fine.
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
From: | Joe Conway <mail(at)joeconway(dot)com> |
---|---|
To: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
Cc: | Gaetano Mendola <mendola(at)bigfoot(dot)com>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: CVS configure failure |
Date: | 2004-09-21 15:33:14 |
Message-ID: | 415049BA.8050408@joeconway.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
Bruce Momjian wrote:
> So distutils is now required to build python? If that is intended, I
> will just skip building python. I didn't realize we had new
> requirements for python, but that is fine.
>
Yes, the python docs imply that it is a reasonable expectation. Here's a
snippet from the thread a week or two ago:
>>> Joe Conway wrote:
>>>> What version of python comes with RH2.1?
>>>
>>> 1.5.2
>>>
>>>> In any case, the online documentation for python suggests that it
>>>> is reasonable to expect that distutils is already installed (by
>>>> default for python >= 1.6, and by the user for python 1.5.2). See:
>>>> http://www.python.org/doc/2.2.3/dist/intro.html
>>>>
>>>> If there are no other objections, I'll commit the attached in about
>>>> 24 hours.
And at the reference URL is this:
"This document only covers using the Distutils to distribute your Python
modules. Using the Distutils does not tie you to Python 1.6, though: the
Distutils work just fine with Python 1.5.2, and it is reasonable (and
expected to become commonplace) to expect users of Python 1.5.2 to
download and install the Distutils separately before they can install
your modules. Python 1.6 (or later) users, of course, won't have to add
anything to their Python installation in order to use the Distutils to
install third-party modules."
Without distutils there is no way to find the config Makefile on 64 bit
architectures.
Joe
From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Joe Conway <mail(at)joeconway(dot)com> |
Cc: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, Gaetano Mendola <mendola(at)bigfoot(dot)com>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: CVS configure failure |
Date: | 2004-09-21 16:33:56 |
Message-ID: | 1830.1095784436@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
Joe Conway <mail(at)joeconway(dot)com> writes:
> Bruce Momjian wrote:
>> So distutils is now required to build python?
> Yes, the python docs imply that it is a reasonable expectation.
FWIW, CVS tip still builds --with-python on my pretty-nearly-stock
RHL 8.0 box, so distutils was standard a couple years ago ...
regards, tom lane
From: | Neil Conway <neilc(at)samurai(dot)com> |
---|---|
To: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
Cc: | Gaetano Mendola <mendola(at)bigfoot(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: CVS configure failure |
Date: | 2004-09-22 00:13:41 |
Message-ID: | 1095812021.8747.2577.camel@localhost.localdomain |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
On Wed, 2004-09-22 at 00:16, Bruce Momjian wrote:
> So distutils is now required to build python? If that is intended, I
> will just skip building python. I didn't realize we had new
> requirements for python, but that is fine.
Should this be documented in the installation instructions?
-Neil
From: | James William Pye <flaw(at)rhid(dot)com> |
---|---|
To: | Neil Conway <neilc(at)samurai(dot)com> |
Cc: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, Gaetano Mendola <mendola(at)bigfoot(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: CVS configure failure |
Date: | 2004-09-22 05:29:46 |
Message-ID: | 1095830985.833.38.camel@localhost |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
On Tue, 2004-09-21 at 17:13, Neil Conway wrote:
> Should this be documented in the installation instructions?
I think so.
I figure just a mention should be enough.
(Also add some productname tags around 'Python'.)
--
Regards,
James William Pye
Attachment | Content-Type | Size |
---|---|---|
pginstal.diff | text/x-patch | 1.4 KB |
From: | Neil Conway <neilc(at)samurai(dot)com> |
---|---|
To: | James William Pye <flaw(at)rhid(dot)com> |
Cc: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, Gaetano Mendola <mendola(at)bigfoot(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: CVS configure failure |
Date: | 2004-09-23 00:30:45 |
Message-ID: | 1095899445.22485.147.camel@localhost.localdomain |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
On Wed, 2004-09-22 at 15:29, James William Pye wrote:
> I think so.
Patch applied with some additional fixes -- the patch as I applied it is
attached. Thanks!
-Neil
Attachment | Content-Type | Size |
---|---|---|
python-install-docs-1.patch | text/x-patch | 4.4 KB |