Re: Configure/Build 9.0 rc1 - cannot build against python3.1, with two versions of python in the environment

Поиск
Список
Период
Сортировка
От James William Pye
Тема Re: Configure/Build 9.0 rc1 - cannot build against python3.1, with two versions of python in the environment
Дата
Msg-id E3FCF74E-92F7-481C-A61C-8C477E4A07BB@jwp.name
обсуждение исходный текст
Ответ на Re: Configure/Build 9.0 rc1 - cannot build against python3.1, with two versions of python in the environment  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-testers
On Sep 12, 2010, at 8:19 PM, Tom Lane wrote:

> James William Pye <lists@jwp.name> writes:
>> I think it kept favoring python2 when I wanted python3 as both were in $PATH.
>
> AFAICS, it'll pick whichever version is executed when you say "python".
> Doesn't seem like an unreasonable behavior to me.

Perhaps reasonable, but:

jwp@torch[]:python/release31-maint/Include 0% ls /src/build/py32pg90/bin/py*
/src/build/py32pg90/bin/pydoc3            /src/build/py32pg90/bin/python3-config
/src/build/py32pg90/bin/python3.2-config
/src/build/py32pg90/bin/python3            /src/build/py32pg90/bin/python3.2

3.x doesn't have a "python" link by default, so the user will have to make one in order to get ./configure to select
it.

В списке pgsql-testers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Configure/Build 9.0 rc1 - cannot build against python3.1, with two versions of python in the environment
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: pg_upgrade 9b4 -> 9rc1 odd behavior with -u (non-)postgres