pg.ddx.io  pgsql-testers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: James William Pye <lists@jwp.name>
Cc: Josh Berkus <josh@agliodbs.com>
Cc: pgsql-testers@postgresql.org, Lou Picciano <loupicciano@comcast.net>
Subject: Re: Configure/Build 9.0 rc1 - cannot build against python3.1, with two versions of python in the environment
Date: Sun, 12 Sep 2010 23:19:48 -0400
Message-ID: <20638.1284347988@sss.pgh.pa.us> (raw)
In-Reply-To: <97F0B24B-FD8D-4277-8E96-9680C66EF1D5@jwp.name>
References: <5289151C-F7C2-4012-92F1-346FB9E1578F@comcast.net>
	<4C8BF66A.5020108@agliodbs.com>
	<1E79C9FD-5CA1-4194-BE88-417DE705EF6C@jwp.name>
	<4C8C0CAF.2050600@agliodbs.com>
	<82B929ED-E40D-4C65-8FFD-2E8613A1A1FF@jwp.name>
	<4C8D52DB.4050408@agliodbs.com>
	<97F0B24B-FD8D-4277-8E96-9680C66EF1D5@jwp.name>

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.

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



view thread (11+ messages)  latest in thread

Message-ID: <20638.1284347988@sss.pgh.pa.us>
Permalink:  ../20638.1284347988@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/20638.1284347988@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-testers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, lists@jwp.name, josh@agliodbs.com, loupicciano@comcast.net
  Subject: Re: Configure/Build 9.0 rc1 - cannot build against python3.1, with two versions of python in the environment
  In-Reply-To: <20638.1284347988@sss.pgh.pa.us>
  References: <5289151C-F7C2-4012-92F1-346FB9E1578F@comcast.net> <4C8BF66A.5020108@agliodbs.com> <1E79C9FD-5CA1-4194-BE88-417DE705EF6C@jwp.name> <4C8C0CAF.2050600@agliodbs.com> <82B929ED-E40D-4C65-8FFD-2E8613A1A1FF@jwp.name> <4C8D52DB.4050408@agliodbs.com> <97F0B24B-FD8D-4277-8E96-9680C66EF1D5@jwp.name> <20638.1284347988@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox