Thread: CVS configure failure
I get this failure on current CVS running configure --with-python:checking for python... /usr/local/bin/pythonchecking forPython distutils module... noconfigure: error: distutils module not foundgmake: *** [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, Pennsylvania19073
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/
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 notfound> 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
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
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, Pennsylvania19073
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 documentationfor python suggests that it>>>> is reasonable to expect that distutils is already installed (by>>>> defaultfor 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
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
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
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
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