Threaded python on FreeBSD
| От | Jim C. Nasby |
|---|---|
| Тема | Threaded python on FreeBSD |
| Дата | |
| Msg-id | 20061015201424.GE381@nasby.net обсуждение исходный текст |
| Ответы |
Re: Threaded python on FreeBSD
|
| Список | pgsql-hackers |
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), wesee 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 = yesendif If that's not in-place, plpython won't build if the python that's installed is multi-threaded: http://pgbuildfarm.org/cgi-bin/show_log.pl?nm=tapir&dt=2006-10-14%2017:32:41 I'm turning off threading in my python for now, but ISTM it'd be good to allow for building plpython from source. (This is python2.5 and FreeBSD 6.1). I looked around the config files but didn't see a clean way to handle this (and maybe the issue is actually with autoconf...) -- Jim Nasby jim@nasby.net EnterpriseDB http://enterprisedb.com 512.569.9461 (cell)
В списке pgsql-hackers по дате отправления: