From: James William Pye <lists@jwp.name>
To: Josh Berkus <josh@agliodbs.com>
Cc: pgsql-testers@postgresql.org, Tom Lane <tgl@sss.pgh.pa.us>
Cc: 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 19:51:24 -0700
Message-ID: <97F0B24B-FD8D-4277-8E96-9680C66EF1D5@jwp.name> (raw)
In-Reply-To: <4C8D52DB.4050408@agliodbs.com>
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>
On Sep 12, 2010, at 3:23 PM, Josh Berkus wrote:
> Hmmm. Tom Lane says "pilot error" because there are two versions of
> Python in the path. Specifically:
ugh, :(
Yeah, that's correct:
--with-python \
--with-includes=/usr/local/include/python3.1:/usr/local/include:/usr/local/ssl/include
--with-libraries=/usr/local/lib/python3.1:/usr/local/lib:/usr/local/ssl/lib
I was drawing from some trickiness I experienced getting my plpy vs plpython test rig going.
I think it kept favoring python2 when I wanted python3 as both were in $PATH.
IIRC, what he needs to do is remove the python2 bin-directory from the PATH in order to get 3.x selected by configure. Seems less than user friendly...
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: lists@jwp.name, josh@agliodbs.com, tgl@sss.pgh.pa.us, 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: <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>
* 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