| From: | Peter Eisentraut <peter_e(at)gmx(dot)net> | 
|---|---|
| To: | pgsql-hackers(at)postgresql(dot)org | 
| Cc: | "Jim C(dot) Nasby" <jim(at)nasby(dot)net> | 
| Subject: | Re: Threaded python on FreeBSD | 
| Date: | 2006-10-15 20:39:49 | 
| Message-ID: | 200610152239.50234.peter_e@gmx.net | 
| Views: | Whole Thread | Raw Message | Download mbox | Resend email | 
| Thread: | |
| Lists: | pgsql-hackers | 
Jim C. Nasby wrote:
> Currently, the FreeBSD ports make the following change when building
> python:
>
> --- src/pl/plpython/Makefile.orig       Fri Nov 19 20:23:01 2004
> +++ src/pl/plpython/Makefile    Tue Dec 28 23:32:16 2004
> @@ -9,7 +9,7 @@
>  # shared library.  Since there is no official way to determine this
>  # (at least not in pre-2.3 Python), we see if there is a file that
> is # named like a shared library.
> -ifneq (,$(wildcard $(python_libdir)/libpython*$(DLSUFFIX)*))
> +ifneq (,$(wildcard $(python_libdir)/../../libpython*$(DLSUFFIX)*))
>  shared_libpython = yes
>  endif
Since python_libdir is /usr/local/lib on this platform, this would look 
for libpython in /usr, which makes no sense.
-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2006-10-15 20:43:17 | Re: BUG #2683: spi_exec_query in plperl returns column names which are not marked as UTF8 | 
| Previous Message | Tom Lane | 2006-10-15 20:36:10 | Re: [PATCHES] New shared memory hooks proposal (was Re: pre_load_libraries) |