From:
Andrew Dunstan <andrew(at)dunslane(dot)net>
To:
Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc:
Josh Berkus <josh(at)agliodbs(dot)com>,
PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>,
Tim Bunce <Tim(dot)Bunce(at)pobox(dot)com>
Subject:
Re: PL/perl should fail on configure, not make
Date:
2013-01-09 21:49:30
Message-ID:
50EDE5EA.909@dunslane.net (view raw or flat )
Thread:
2013-01-09 01:48:17 from Josh Berkus <josh(at)agliodbs(dot)com>
2013-01-09 02:10:24 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2013-01-09 03:37:55 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2013-01-09 04:32:54 from Peter Eisentraut <peter_e(at)gmx(dot)net>
2013-01-09 06:01:58 from Josh Berkus <josh(at)agliodbs(dot)com>
2013-01-09 08:18:08 from Andrew Dunstan <andrew(at)dunslane(dot)net>
2013-01-09 15:16:04 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2013-01-09 21:06:10 from Andrew Dunstan <andrew(at)dunslane(dot)net>
2013-01-09 21:12:40 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2013-01-09 21:49:30 from Andrew Dunstan <andrew(at)dunslane(dot)net>
2013-01-10 00:56:57 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2013-01-10 03:48:10 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2013-01-10 14:56:58 from Andrew Dunstan <andrew(at)dunslane(dot)net>
2013-01-10 16:32:35 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2013-01-10 16:38:07 from Andrew Dunstan <andrew(at)dunslane(dot)net>
2013-01-11 05:30:40 from pgbuildfarm(at)jdrake(dot)com
2013-01-11 05:48:33 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2013-01-11 06:01:43 from Jeremy Drake <pgbuildfarm(at)jdrake(dot)com>
2013-01-14 17:09:32 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2013-01-10 21:21:40 from Peter Eisentraut <peter_e(at)gmx(dot)net>
2013-01-10 21:48:28 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2013-01-10 22:06:01 from Peter Eisentraut <peter_e(at)gmx(dot)net>
2013-01-10 22:30:30 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2013-01-11 00:53:20 from Josh Berkus <josh(at)agliodbs(dot)com>
2013-01-11 01:12:56 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2013-01-11 03:09:35 from "Aaron W(dot) Swenson" <titanofold(at)gentoo(dot)org>
2013-01-11 03:25:25 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2013-01-11 03:59:28 from "Aaron W(dot) Swenson" <titanofold(at)gentoo(dot)org>
2013-01-10 21:20:01 from Peter Eisentraut <peter_e(at)gmx(dot)net>
2013-01-09 10:21:44 from Christoph Berg <myon(at)debian(dot)org>
2013-01-09 15:30:03 from Christian Ullrich <chris(at)chrullrich(dot)net>
2013-01-09 16:00:01 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2013-01-09 17:08:00 from Peter Eisentraut <peter_e(at)gmx(dot)net>
2013-01-09 17:50:52 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2013-01-10 21:18:31 from Peter Eisentraut <peter_e(at)gmx(dot)net>
2013-01-10 21:38:12 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2013-01-10 22:08:12 from Peter Eisentraut <peter_e(at)gmx(dot)net>
2013-01-10 22:10:16 from Peter Eisentraut <peter_e(at)gmx(dot)net>
2013-01-09 17:05:45 from Peter Eisentraut <peter_e(at)gmx(dot)net>
Lists:
pgsql-hackers
On 01/09/2013 04:12 PM, Tom Lane wrote:
> Andrew Dunstan <andrew(at)dunslane(dot)net> writes:
>> On 01/09/2013 10:16 AM, Tom Lane wrote:
>>> Actually, if we were to try to clean this up, I'd suggest moving that
>>> logic into the configure script --- it's not apparent to me why it's
>>> a good idea to be changing configure-determined values in the Makefile.
>>> But in any case this would have to be done by somebody who's in a
>>> position to test on affected platforms.
>> Here's a patch which does that and produces configure traces like this
>> on Mingw:
>> checking for Perl archlibexp... C:/Perl/lib
>> checking for Perl privlibexp... C:/Perl/lib
>> checking for Perl useshrplib... true
>> checking for flags to link embedded Perl... -LC:/Perl/lib/CORE -lperl512
>> which seems to be what we want.
>> Given that, you should be able to write a reasonably portable configure
>> test for library presence.
> Looks good. If you're happy with that then I can undertake to add a
> libperl.so probe based on AC_TRY_LINK with the unmodified value of
> $perl_embed_ldflags.
>
Go for it.
cheers
andrew
In response to
Responses
pgsql-hackers by date
Next :From: Simon RiggsDate: 2013-01-09 21:52:31
Subject : Re: Index build temp files
Previous :From : Bruce MomjianDate : 2013-01-09 21:43:27
Subject : Re: Reducing size of WAL record headers