Re: openbsd, plpython, missing threading symbols

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Marko Kreen <marko(at)l-t(dot)ee>
Cc: Stefan Kaltenbrunner <stefan(at)kaltenbrunner(dot)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-13 02:27:16
Message-ID: 200508130227.j7D2RGL29778@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


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(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, skipping... ]

>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: Don't 'kill -9' the postmaster

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2005-08-13 02:28:13 Re: [PATCHES] FW: Win32 unicode vs ICU
Previous Message Bruce Momjian 2005-08-13 02:25:00 Re: Bug in ALTER TABLE/SEQUENCE OWNER TO