| From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
|---|---|
| To: | Clay McClure <clay(at)daemons(dot)net> |
| Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-bugs(at)postgresql(dot)org |
| Subject: | Re: BUG #6633: PL/Python build does not honor PYTHON on Mac OS X |
| Date: | 2012-05-09 19:42:47 |
| Message-ID: | 1336592567.8747.12.camel@vanquo.pezone.net |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-bugs |
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. Otherwise, you have a UNIX-style build
> and -lpython is the appropriate method of linking."
Please try the attached patch. It's completely untested, as I don't
have that platform, but as a guidance about how it might work.
| Attachment | Content-Type | Size |
|---|---|---|
| plpython-macosx-framework-or-not.patch | text/x-patch | 1.8 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | kurosawa-akira | 2012-05-10 05:32:40 | BUG #6635: TRUNCATE didn't recreate init fork. |
| Previous Message | Tom Lane | 2012-05-08 17:41:04 | Re: BUG #6634: pg_dump dumps cast after objects depending on it |