Re: improving PL/Python builds on OS X - Mailing list pgsql-hackers

From Dave Page
Subject Re: improving PL/Python builds on OS X
Date
Msg-id CA+OCxoxTxaQfgS9w-EKZc=xPLPgkUudo9GJOfZS=g=QRXSPi3Q@mail.gmail.com
Whole thread Raw
In response to Re: improving PL/Python builds on OS X  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: improving PL/Python builds on OS X  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
On Wed, May 8, 2013 at 5:34 PM, Peter Eisentraut <peter_e@gmx.net> wrote:
> On 5/8/13 11:51 AM, Dave Page wrote:
>> This patch seems to have broken the build for our installers for 9.3.
>> Because we need a consistent build of the PL interpretors on all the
>> platforms we support, we use the ActiveState distributions of Perl,
>> Python and TCL (we can't rely on vendor supplied packages, because
>> their versions vary between different Linux distros and different OS X
>> versions). However, ActivePython doesn't include a shared library,
>> which this change seems to require.
>>
>> Can that requirement be reverted?
>
> There was no change in this regard.  A shared library was always
> required on OS X.

It's failing on Linux. Even worse, it configures fine and then builds
without error. There is a message spewed out by configure, but it
doesn't contain the words warning or error. Given that I explicitly
said I wanted Python support when I ran configure, it should certainly
fail with an error at configure time. We only noticed this was a
problem when the QA guys started diving in to more detailed tested, as
we don't watch for every message in the 50+ MB of logs our automated
build systems generate.

> ActivePython does include a shared library.  I just tried it and it
> builds fine.



--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: RETURNING syntax for COPY
Next
From: Dimitri Fontaine
Date:
Subject: Re: RETURNING syntax for COPY