Re: 9.0 Bug: cannot build against python3.1, with two versions of python in the environment - Mailing list pgsql-bugs

From Tom Lane
Subject Re: 9.0 Bug: cannot build against python3.1, with two versions of python in the environment
Date
Msg-id 29781.1284267092@sss.pgh.pa.us
Whole thread Raw
In response to 9.0 Bug: cannot build against python3.1, with two versions of python in the environment  (Josh Berkus <josh@agliodbs.com>)
List pgsql-bugs
Josh Berkus <josh@agliodbs.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

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: issue about information_schema REFERENTIAL_CONSTRAINTS
Next
From: "Kesavan"
Date:
Subject: BUG #5653: Error reading the C:/Program Files/PostgreSQL/8.4/data/postgresql.conf"