Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 8CDC76321B0 for ; Sun, 12 Sep 2010 22:21:09 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 22119-03 for ; Mon, 13 Sep 2010 01:20:55 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from qmta03.westchester.pa.mail.comcast.net (qmta03.westchester.pa.mail.comcast.net [76.96.62.32]) by mail.postgresql.org (Postfix) with ESMTP id 827556321CB for ; Sun, 12 Sep 2010 22:20:56 -0300 (ADT) Received: from omta03.westchester.pa.mail.comcast.net ([76.96.62.27]) by qmta03.westchester.pa.mail.comcast.net with comcast id 5vvF1f0050bG4ec531LvGK; Mon, 13 Sep 2010 01:20:55 +0000 Received: from sz0093.wc.mail.comcast.net ([76.96.58.151]) by omta03.westchester.pa.mail.comcast.net with comcast id 61Lv1f00A3FmDic3P1LvA5; Mon, 13 Sep 2010 01:20:55 +0000 Date: Mon, 13 Sep 2010 01:20:55 +0000 (UTC) From: Lou Picciano To: Josh Berkus Cc: pgsql-testers@postgresql.org, James William Pye Message-ID: <1964688383.249167.1284340855417.JavaMail.root@sz0093a.westchester.pa.mail.comcast.net> In-Reply-To: <56142741.249101.1284340786117.JavaMail.root@sz0093a.westchester.pa.mail.comcast.net> Subject: Re: Configure/Build 9.0 rc1 - cannot build against python3.1, with two versions of python in the environment MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_249166_799721387.1284340855416" X-Originating-IP: [76.117.184.231] X-Mailer: Zimbra 6.0.5_GA_2429.RHEL4 (ZimbraWebClient - SAF3 (Mac)/6.0.5_GA_2427.RHEL4) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.909 tagged_above=-10 required=5 tests=BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201009/15 X-Sequence-Number: 191 ------=_Part_249166_799721387.1284340855416 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit I would be willing to accept the 'pilot error' tag (I have no instrument rating in this type), but... Isn't it common to have multiple versions of libs in an environment? We have several versions of many things, used in different settings - often specifically for purposes of version testing. For example, we kept the python2.4 implementation because we have some code which (we believe) may depend on it. By the way, we have no immediate interest in pl/Python; this compilation attempt was only for testing purposes... Yes, the 2.4 version of python is found first in our PATH environment. What seems strange in this case, though, is that - apparently? - no combination of configure options or env variables lets us designate one version consistently. The configure script is itself mixing versions: --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 \ Setting env PYTHON or PYTHONPATH didn't seem to have any impact. We are also not such python mavens as to be anything near expert with it... - Lou Picciano ----- Original Message ----- From: "Josh Berkus" To: "James William Pye" Cc: pgsql-testers@postgresql.org Sent: Sunday, September 12, 2010 6:23:23 PM Subject: Re: [TESTERS] Configure/Build 9.0 rc1 - cannot build against python3.1, with two versions of python in the environment James, > On Sep 11, 2010, at 4:11 PM, Josh Berkus wrote: >> So, is this a bug? Should we be fixing it before release? > > > Yes to both. Hmmm. Tom Lane says "pilot error" because there are two versions of Python in the path. Specifically: "In particular, how'd those 3.1 references get in there when the python version in $PATH is 2.4? It's for damn sure we didn't introduce those." If Tom is incorrect, please take up the thread on -BUGS. I don't know enough about python libs in builds to argue either way. -- -- Josh Berkus PostgreSQL Experts Inc. http://www.pgexperts.com - HOWTO Alpha/Beta Test: http://wiki.postgresql.org/wiki/HowToBetaTest To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-testers ------=_Part_249166_799721387.1284340855416 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <= div style=3D'font-family: Verdana; font-size: 12pt; color: #000000'>I would= be willing to accept the 'pilot error' tag (I have no instrument rating in= this type), but...

Isn't it common to have multiple ver= sions of libs in an environment?  We have several versions of many thi= ngs, used in different settings - often specifically for purposes of versio= n testing.  For example, we kept the python2.4 implementation because = we have some code which (we believe) may depend on it.  By the way, we= have no immediate interest in pl/Python; this compilation attempt was only= for testing purposes...

Yes, the 2.4 version of p= ython is found first in our PATH environment.  What seems strange in t= his case, though, is that - apparently? - no combination of confi= gure options or env variables lets us designate one version consistently. &= nbsp;The configure script is itself mixing versions:

--with-python \
= --with-includes=3D/usr/local/include/python3.1:/usr/local/include:/usr/loca= l/ssl/include \
--with-libraries=3D/usr/local/lib/pyth= on3.1:/usr/local/lib:/usr/local/ssl/lib \

=
Setting env PYTHON or PYTHONPATH didn't seem to have any impact.=

We are also not such python mavens as to be anyth= ing near expert with it...

- Lou Picciano
 
----- Original Message -----
From: "= Josh Berkus" <josh@agliodbs.com>
To: "James William Pye" <lists= @jwp.name>
Cc: pgsql-testers@postgresql.org
Sent: Sunday, Septembe= r 12, 2010 6:23:23 PM
Subject: Re: [TESTERS] Configure/Build 9.0 rc1 - c= annot build against python3.1, with two versions of python in the environme= nt

James,

> On Sep 11, 2010, at 4:11 PM, Josh Berkus wrote= :
>> So, is this a bug?  Should we be fixing it before releas= e?
>
>
> Yes to both.

Hmmm.  Tom Lane says = "pilot error" because there are two versions of
Python in the path. &nbs= p;Specifically:

"In particular, how'd those 3.1 references get in th= ere when the python
version in $PATH is 2.4? It's for damn sure we didn'= t introduce those."

If Tom is incorrect, please take up the thread o= n -BUGS.  I don't know
enough about python libs in builds to argue = either way.

--
             &= nbsp;                    = -- Josh Berkus
               &n= bsp;                     = PostgreSQL Experts Inc.
             =                      = ;   http://www.pgexperts.com
-
HOWTO Alpha/Beta Test:
http://= wiki.postgresql.org/wiki/HowToBetaTest
To make changes to your subscript= ion:
http://www.postgresql.org/mailpref/pgsql-testers
------=_Part_249166_799721387.1284340855416--