Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-testers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group