Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 7A4946321CB for ; Sun, 12 Sep 2010 23:51:37 -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 74855-07 for ; Mon, 13 Sep 2010 02:51:27 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from eastrmmtao106.cox.net (eastrmmtao106.cox.net [68.230.240.48]) by mail.postgresql.org (Postfix) with ESMTP id 9B6D26321B0 for ; Sun, 12 Sep 2010 23:51:28 -0300 (ADT) Received: from eastrmimpo02.cox.net ([68.1.16.120]) by eastrmmtao106.cox.net (InterMail vM.8.00.01.00 201-2244-105-20090324) with ESMTP id <20100913025125.WELO24165.eastrmmtao106.cox.net@eastrmimpo02.cox.net>; Sun, 12 Sep 2010 22:51:25 -0400 Received: from [192.168.1.202] ([68.231.48.165]) by eastrmimpo02.cox.net with bizsmtp id 62rQ1f00V3ZqlzY022rRfB; Sun, 12 Sep 2010 22:51:25 -0400 X-VR-Score: -200.00 X-Authority-Analysis: v=1.1 cv=Cpsp9XuSY13Uni36OgXCsheP7uKp19gQdVzN1WEXNos= c=1 sm=1 a=pI7qvg88_kwA:10 a=kj9zAlcOel0A:10 a=mznZgh7zfBuQCQY0SSWuZQ==:17 a=u-AsPNzFxTHksmhnwPQA:9 a=R4CCVGjRDV5DMVe2mrkA:7 a=8H8XGXZn9eyiDBf6e4MQ3suMin0A:4 a=CjuIK1q_8ugA:10 a=mznZgh7zfBuQCQY0SSWuZQ==:117 X-CM-Score: 0.00 Authentication-Results: cox.net; none Subject: Re: Configure/Build 9.0 rc1 - cannot build against python3.1, with two versions of python in the environment Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset=us-ascii From: James William Pye In-Reply-To: <4C8D52DB.4050408@agliodbs.com> Date: Sun, 12 Sep 2010 19:51:24 -0700 Cc: pgsql-testers@postgresql.org, Tom Lane , Lou Picciano Content-Transfer-Encoding: quoted-printable Message-Id: <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> To: Josh Berkus X-Mailer: Apple Mail (2.1081) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.232 tagged_above=-10 required=5 tests=BAYES_00=-1.9, DNS_FROM_RFC_BOGUSMX=1.668, RCVD_IN_DNSWL_NONE=-0.0001 X-Spam-Level: X-Archive-Number: 201009/17 X-Sequence-Number: 193 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=3D/usr/local/include/python3.1:/usr/local/include:/usr/loc= al/ssl/include=20 = --with-libraries=3D/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...=