Where are we going with this patch? It doesn't test specific OS's known
to fail.
---------------------------------------------------------------------------
Marko Kreen wrote:
> 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
>
[ Attachment, skipping... ]
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: Don't 'kill -9' the postmaster
-- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610)
359-1001+ If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square,
Pennsylvania19073