From: Tom Lane <tgl@sss.pgh.pa.us>
To: st-postgresql@luettgert.de
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #15407: [minor] build depends on $MAKELEVEL being 0 at top Makefile
Date: Thu, 27 Sep 2018 09:47:19 -0400
Message-ID: <1118.1538056039@sss.pgh.pa.us> (raw)
In-Reply-To: <15407-7b64e5de97dedc5e@postgresql.org>
References: <15407-7b64e5de97dedc5e@postgresql.org>
=?utf-8?q?PG_Bug_reporting_form?= <noreply@postgresql.org> writes:
> We build postgresql as part of a larger runtime environment, and if the
> top-level make is invoked from an existing, other Makefile (i.e., with
> $MAKELEVEL set), the build fails like this:
> ...
> Workaround for us was to use
> MAKELEVEL=0 $(MAKE)
> instead.
Yeah, this is now documented, near the bottom of the "2. Build" step at
https://www.postgresql.org/docs/11/static/install-procedure.html
It should be harmless to do that for pre-11 versions too.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, st-postgresql@luettgert.de
Subject: Re: BUG #15407: [minor] build depends on $MAKELEVEL being 0 at top Makefile
In-Reply-To: <1118.1538056039@sss.pgh.pa.us>
References: <15407-7b64e5de97dedc5e@postgresql.org> <1118.1538056039@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox