Re: BUG #5447: VPATH install postgres.bki

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Alvaro Herrera <alvherre(at)commandprompt(dot)com>, Graham <lists(at)information-cascade(dot)co(dot)uk>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #5447: VPATH install postgres.bki
Date: 2010-05-04 19:46:47
Message-ID: 1273002408.8478.0.camel@vanquo.pezone.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On tis, 2010-05-04 at 10:49 -0400, Tom Lane wrote:
> Alvaro Herrera <alvherre(at)commandprompt(dot)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 Content-Type Size
vpath-install-fix.patch text/x-patch 2.4 KB

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Francis 2010-05-05 03:17:43 BUG #5448: psql \set does not terminate if variable is referenced recursively
Previous Message Tom Lane 2010-05-04 14:49:46 Re: BUG #5447: VPATH install postgres.bki