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

Re: 9.0 Bug: 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: Josh Berkus <josh(at)agliodbs(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: 9.0 Bug: cannot build against python3.1, with two versions of python in the environment
Date: 2010-09-12 04:51:32
Message-ID: 29781.1284267092@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-bugs
Josh Berkus <josh(at)agliodbs(dot)com> writes:
> I discussed this report with James Pye already, and he beleives it's a 
> configure script bug which should be fixed before release.  Anyone 
> capable of taking it on?

AFAICS, user has failed to ensure that only one Python version is
visible in his environment.  Please show cause why this isn't
user error.

> checking for python... /usr/bin/python
> checking Python configuration directory... /usr/lib/python2.4/config
> checking how to link an embedded Python application... -L/usr/lib
> -lpython2.4 -lresolv -lsocket -lnsl -lrt -ldl -lm
> configure: using CPPFLAGS= -I/usr/local/include/libxml2
> -I/usr/local/include/python3.1 -I/usr/local/include -I/usr/local/ssl/include
> configure: using LDFLAGS= -L/usr/local/lib -L/usr/local/lib/python3.1

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.

			regards, tom lane

In response to

pgsql-bugs by date

Next:From: KesavanDate: 2010-09-12 15:17:52
Subject: Issue related to #5253
Previous:From: Tom LaneDate: 2010-09-12 04:40:32
Subject: Re: issue about information_schema REFERENTIAL_CONSTRAINTS

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