On Thu, Aug 04, 2005 at 08:14:51PM +0200, Stefan Kaltenbrunner wrote:
> Tom Lane wrote:
> >Andrew Dunstan <andrew@dunslane.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