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

From James William Pye
Subject Re: Configure/Build 9.0 rc1 - cannot build against python3.1, with two versions of python in the environment
Date
Msg-id E3FCF74E-92F7-481C-A61C-8C477E4A07BB@jwp.name
Whole thread Raw
In response to 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>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: Configure/Build 9.0 rc1 - cannot build against python3.1, with two versions of python in the environment
Next
From: Bruce Momjian
Date:
Subject: Re: pg_upgrade 9b4 -> 9rc1 odd behavior with -u (non-)postgres