Re: BUG #5447: VPATH install postgres.bki - Mailing list pgsql-bugs

From Peter Eisentraut
Subject Re: BUG #5447: VPATH install postgres.bki
Date
Msg-id 1273002408.8478.0.camel@vanquo.pezone.net
Whole thread Raw
In response to Re: BUG #5447: VPATH install postgres.bki  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: BUG #5447: VPATH install postgres.bki  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-bugs
On tis, 2010-05-04 at 10:49 -0400, Tom Lane wrote:
> Alvaro Herrera <alvherre@commandprompt.com> writes:
> > Graham wrote:
> >> Build with VPATH works well upto installing
> >> postgresql-9.0beta1/src/backend/catalog/postgres.bki
> >> which is in the source tree not the object tree
>
> > Strange.  I always use VPATH builds and I've never seen this problem.  I
> > only use CVS checkouts though.  Maybe something is broken in the
> > tarball.  I'll have a look this afternoon is no one beats me to it.
>
> I don't think anyone has tried a VPATH build starting from a
> distribution tarball.  The OP is correct that things are going to fall
> over in that case.  My thought about fixing it was that postgres.bki
> and related files ought to be forced to be built/used in $(srcdir),
> but I didn't get further than that.  Peter, what do you think?

We have a prebaked solution for this in the docs build.  The attached
patch appears to fix it.

Attachment

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #5447: VPATH install postgres.bki
Next
From: Graham Swallow
Date:
Subject: ubuntu 9.10 AMD64 undefined reference to `optreset'