Re: x86_64 configure problem

From: Gaetano Mendola <mendola(at)bigfoot(dot)com>
To: Joe Conway <mail(at)joeconway(dot)com>
Subject: Re: x86_64 configure problem
Date: 2004-09-11 20:57:47
Message-ID: 414366CB.5070800@bigfoot.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Joe Conway wrote:
> Gaetano Mendola wrote:
>
>> 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.
>>
>>
>> Are you going also to change the configure so it will check the distutils
>> package installation ?
>
>
> I wasn't going to -- python's own docs say I shouldn't need to. From the
> link above:
>
> "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"

I'm not native english speakers but that sentence above doesn't imply
Python 1.5.2 => Distutils. So instead of an error like this:

checking Python installation directories... Traceback (innermost last):
File "<string>", line 1, in ?
ImportError: No module named distutils
Traceback (innermost last):
File "<string>", line 1, in ?
ImportError: No module named distutils
/usr/
checking how to link an embedded Python application... no
configure: error: Python Makefile not found
error: Bad exit status from /var/tmp/rpm-tmp.56347 (%build)

is better have:

Error: you need to have Distutil installed

Regards
Gaetano Mendola

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Joe Conway 2004-09-11 21:05:44 Re: x86_64 configure problem
Previous Message Joe Conway 2004-09-11 19:14:57 Re: x86_64 configure problem

Browse pgsql-patches by date

  From Date Subject
Next Message Joe Conway 2004-09-11 21:05:44 Re: x86_64 configure problem
Previous Message Joe Conway 2004-09-11 19:14:57 Re: x86_64 configure problem