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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: James William Pye <lists(at)jwp(dot)name>
Cc: Josh Berkus <josh(at)agliodbs(dot)com>, pgsql-testers(at)postgresql(dot)org, Lou Picciano <loupicciano(at)comcast(dot)net>
Subject: Re: Configure/Build 9.0 rc1 - cannot build against python3.1, with two versions of python in the environment
Date: 2010-09-13 03:19:48
Message-ID: 20638.1284347988@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-testers

James William Pye <lists(at)jwp(dot)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.

You may well need to adjust $PATH before running configure. I wouldn't
recommend hacking --with-includes or --with-libraries at all, though;
we find out what directories to use by asking "python".

regards, tom lane

In response to

Responses

Browse pgsql-testers by date

  From Date Subject
Next Message James William Pye 2010-09-13 03:26:41 Re: Configure/Build 9.0 rc1 - cannot build against python3.1, with two versions of python in the environment
Previous Message James William Pye 2010-09-13 02:51:24 Re: Configure/Build 9.0 rc1 - cannot build against python3.1, with two versions of python in the environment