From: | Robert Haas <robertmhaas(at)gmail(dot)com> |
---|---|
To: | Sergey Burladyan <eshkinkot(at)gmail(dot)com> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: FreeBSD 8.0 i386, plpythonu, threaded Python not supported on this platform |
Date: | 2010-10-15 00:44:55 |
Message-ID: | AANLkTimQ=r=dKKet7AOoeh+tqUfDUrxdrOyr7+YB7Siw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Wed, Oct 13, 2010 at 3:36 PM, Sergey Burladyan <eshkinkot(at)gmail(dot)com> wrote:
> Hi all!
>
> ./configure --prefix=$HOME/inst/pg-9 --enable-nls --enable-debug --enable-depend --enable-cassert --enable-thread-safety --with-pgport=5431 --with-libxml --with-libxslt --with-python --with-perl --with-tcl FLEX=/usr/local/bin/flex
>
> --8<---------------cut here---------------start------------->8---
> checking for python... /usr/local/bin/python
> checking for Python distutils module... yes
> checking Python configuration directory... /usr/local/lib/python2.6/config
> checking how to link an embedded Python application... -L/usr/local/lib/python2.6/config -lpython2.6 -lutil -lm
> checking whether Python is compiled with thread support... yes
> configure: error: threaded Python not supported on this platform
> --8<---------------cut here---------------end--------------->8---
>
> Where can I find a description of this problem? Is any chance to fix it?
In config/python.m4 you'll find the following:
# threaded python is not supported on bsd's
AC_MSG_CHECKING(whether Python is compiled with thread support)
pythreads=`${PYTHON} -c "import sys; print(int('thread' in
sys.builtin_module_names))"`
if test "$pythreads" = "1"; then
AC_MSG_RESULT(yes)
case $host_os in
openbsd*|freebsd*)
AC_MSG_ERROR([threaded Python not supported on this platform])
;;
esac
else
AC_MSG_RESULT(no)
fi
So it looks like we throw that error on OpenBSD and FreeBSD. That was
apparently introduced by this relatively inexplicable commit, back in
2005:
It seems plausible this might not be a problem any more, 5 years on...
perhaps you could comment that test out of configure and see if it
works for you. Or if not, what the actual problem is.
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
From | Date | Subject | |
---|---|---|---|
Next Message | Itagaki Takahiro | 2010-10-15 00:52:09 | Re: string function - "format" function proposal |
Previous Message | Robert Haas | 2010-10-15 00:36:48 | Re: shmget error text reports funny max_connections numbers |