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@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

Tue, 21 Sep 2004 02:17:32 -0400 (EDT)
Bruce Momjian <pgman@candle.pha.pa.us>
CVS configure failure
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/


Tue, 21 Sep 2004 08:39:22 +0200
Peter Eisentraut <peter_e@gmx.net>
Re: CVS configure failure
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







Tue, 21 Sep 2004 11:23:16 +0200
Gaetano Mendola <mendola@bigfoot.com>
Re: CVS configure failure
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







Tue, 21 Sep 2004 13:09:07 +0200
Gaetano Mendola <mendola@bigfoot.com>
Re: CVS configure failure
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@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

Tue, 21 Sep 2004 10:16:54 -0400 (EDT)
Bruce Momjian <pgman@candle.pha.pa.us>
Re: CVS configure failure
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

Tue, 21 Sep 2004 08:33:14 -0700
Joe Conway <mail@joeconway.com>
Re: CVS configure failure
Joe Conway <mail@joeconway.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

Tue, 21 Sep 2004 12:33:56 -0400
Tom Lane <tgl@sss.pgh.pa.us>
Re: CVS configure failure 
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



Wed, 22 Sep 2004 10:13:41 +1000
Neil Conway <neilc@samurai.com>
Re: CVS configure failure
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
Tue, 21 Sep 2004 22:29:46 -0700
James William Pye <flaw@rhid.com>
Re: CVS configure failure
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
Thu, 23 Sep 2004 10:30:45 +1000
Neil Conway <neilc@samurai.com>
Re: CVS configure failure