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

2012-05-09 Thread Peter Eisentraut
On tis, 2012-05-08 at 11:33 -0400, Clay McClure wrote: > "The gist of it is to grab python-config --prefix and store it in a > variable, say py_prefix. If the file $py_prefix/Python exists, you are > dealing with a Framework build and -framework Python is the > appropriate method of linking. Otherw

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

2012-05-08 Thread Clay McClure
On Tue, May 8, 2012 at 11:07 AM, Clay McClure wrote: > Thanks for your reply, Tom. I will check with the Homebrew > maintainers, but my (albeit limited) understanding of the subject is > that a framework Python is only needed for GUI applications. Unless > PL/Python is opening windows and drawing

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

2012-05-08 Thread Clay McClure
On Tue, May 8, 2012 at 1:42 AM, Tom Lane wrote: > Hmm ... on my Mac, > > $ python-config > Usage: /usr/bin/python-config > [--prefix|--exec-prefix|--includes|--libs|--cflags|--ldflags|--help] > > None of those options produce anything including "-framework Python". > So I think your upstream nee

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

2012-05-07 Thread Tom Lane
c...@daemons.net writes: > 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." Hm

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

2012-05-07 Thread clay
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