Re: openbsd, plpython, missing threading symbols

From: Marko Kreen <marko(at)l-t(dot)ee>
To: Stefan Kaltenbrunner <stefan(at)kaltenbrunner(dot)cc>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Andrew Dunstan <andrew(at)dunslane(dot)net>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: openbsd, plpython, missing threading symbols
Date: 2005-08-04 19:52:02
Message-ID: 20050804195202.GA8724@l-t.ee
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Aug 04, 2005 at 08:14:51PM +0200, Stefan Kaltenbrunner wrote:
> Tom Lane wrote:
> >Andrew Dunstan <andrew(at)dunslane(dot)net> writes:
> >>Tom Lane wrote:
> >>>The alternative is to say that plpython isn't supported on BSDen unless
> >>>you choose to build an unthreaded libpython.
> >>I'm OK with that, but if that's what's done I think we should check for
> >>it up front at configure time and not let it fail at run time like we do
> >>now.
> >
> > If you can create a suitable configure test, it'd be fine with me.
>
> Not sure if it is of any help but mod_python seems to be using this
> configure.in snippet to detect (and reject) a threaded python installation:

Ok, I converted this to patch against config/python.m4.

Also made it work with python 2.3, 2.4 that return 'True' not '1'.

The error is thrown only on BSD's. As I understand threaded
python works fine on other OS'es?

Error message may need clarifying.

--
marko

Attachment Content-Type Size
pythread.diff text/plain 892 bytes

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Mark Woodward 2005-08-04 21:22:15 Re: US Census database (Tiger 2004FE) - 4.4G
Previous Message Tom Lane 2005-08-04 19:44:25 Re: Cygwin - make check broken