BUG #6633: PL/Python build does not honor PYTHON on Mac OS X

From: clay(at)daemons(dot)net
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #6633: PL/Python build does not honor PYTHON on Mac OS X
Date: 2012-05-07 18:52:08
Message-ID: E1SRT2W-0001xH-EF@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 6633
Logged by: Clay McClure
Email address: clay(at)daemons(dot)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."

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Robert Haas 2012-05-08 00:40:23 Re: BUG #6624: Tab completion of identifier containing single backslash triggers warnings
Previous Message Kevin Grittner 2012-05-07 16:54:22 Re: BUG #6627: Error while launching pgAdmin III