The following bug has been logged on the website:

Bug reference:      6633
Logged by:          Clay McClure
Email address:      c...@daemons.net
PostgreSQL version: 9.1.3
Operating system:   Darwin / Mac OS X 10.7.3 (Lion)
Description:        

According to the installation documentation, one can set the PYTHON
environment variable to control which python is used to build PL/Python, but
this does not work correctly on Mac OS X.

The configure script correctly sets python_libspec based on the PYTHON
environment variable, but the plpython Makefile clobbers that value:

# Darwin (OS X) has its own ideas about how to do this.
ifeq ($(PORTNAME), darwin)
shared_libpython = yes
override python_libspec = -framework Python
override python_additional_libs =
endif

According to a Homebrew bug report
(https://github.com/mxcl/homebrew/issues/11162):

"You should submit a bug report to PostgreSQL as they can't assume Python is
always built as a Framework on Darwin. They should be using python-config to
get the gory details."


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

Reply via email to