Re: PostgreSQL 9.3 beta breaks some extensions "make install"

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: cedric(at)2ndquadrant(dot)com
Cc: pgsql-hackers(at)postgresql(dot)org, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Dimitri Fontaine <dimitri(at)2ndquadrant(dot)fr>, Peter Eisentraut <peter_e(at)gmx(dot)net>, Marti Raudsepp <marti(at)juffo(dot)org>
Subject: Re: PostgreSQL 9.3 beta breaks some extensions "make install"
Date: 2013-05-16 15:17:51
Message-ID: 5194F89F.3040108@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


On 05/16/2013 10:39 AM, Cédric Villemain wrote:
> Le jeudi 16 mai 2013 15:51:48, Tom Lane a écrit :
>> Andrew Dunstan <andrew(at)dunslane(dot)net> writes:
>>> On 05/16/2013 05:41 AM, Dimitri Fontaine wrote:
>>>> And VPATH building of extension is crucially important for me, as the
>>>> easiest way I've found to build and package a given extension against
>>>> all currently supported version of PostgreSQL.
>>> Is there documented support for VPATH builds?
>> The core code certainly builds okay in VPATH mode, and I would agree
>> with Dimitri that pgxs builds should as well. But this is more of an
>> autoconf+make feature than ours, so I'm not sure why you'd expect us
>> to document it.
> Extension does not support VPATH at 100% (well, pgxs.mk).
> There is a minor hack for some REGRESS files but that's all.

Right. My impression is that pgxs.mk actively works against vpath builds.

>
> I think at least DOCS, DATA and REGRESS needs some addition on pgxs.mk to help
> extension author allows build out-of-tree (postgresql been built out or not).
>
> I'll work on a patch for that.

OK, great.

cheers

andrew

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2013-05-16 15:55:10 Re: BUG #8167: false EINVAL -22 for opening a file
Previous Message Amit Kapila 2013-05-16 15:08:59 Re: 9.3 Beta1 status report