From: Tom Lane <tgl@sss.pgh.pa.us>
To: Sam Kidman <sam@fresho.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: errcodes.h and others not generated when compiling 13.6 on M1 Mac
Date: Thu, 28 Apr 2022 20:51:09 -0400
Message-ID: <232983.1651193469@sss.pgh.pa.us> (raw)
In-Reply-To: <CA+FDo=tuKbBqzXT=BcFrycLCb0pg-+PrkD3hwNGx5YrLHH+L1Q@mail.gmail.com>
References: <CA+FDo=s=Bg6KCeddW345N=azq2O+KvGxpnSELR5YoNrVXzpfUg@mail.gmail.com>
<e8b4727d30636d26b8fa29a8aa59e62516af20b9.camel@cybertec.at>
<368888.1651066718@sss.pgh.pa.us>
<CA+FDo=vS4PMxWY0kmWOLmCnjt4_jcE2sUdXr_YvDCdxHk0tNKQ@mail.gmail.com>
<229474.1651191400@sss.pgh.pa.us>
<CA+FDo=tuKbBqzXT=BcFrycLCb0pg-+PrkD3hwNGx5YrLHH+L1Q@mail.gmail.com>
Sam Kidman <sam@fresho.com> writes:
>> Are you using any nondefault make options? Are you invoking our Makefile
>> from some make script of your own?
> This all came about because we use asdf as a version manager which compiles
> the versions of various programs you want to use. There's potentially a
> problem with the asdf plugin for postgres which I'd like to fix. I couldn't
> make head nor tails of the problem with asdf, so I cloned the source and
> started trying to compile it myself. The error I get when I compile it
> myself and when asdf does it are the same (the problem with header files
> not being generated)
Our manual recommends doing it this way if you invoke PG's build from
an upper-level makefile:
build-postgresql:
$(MAKE) -C postgresql MAKELEVEL=0 all
I don't know anything about asdf, but if it uses make scripts then a
likely explanation for the problem is lack of the "MAKELEVEL=0" bit.
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-general@postgresql.org
Cc: tgl@sss.pgh.pa.us, sam@fresho.com
Subject: Re: errcodes.h and others not generated when compiling 13.6 on M1 Mac
In-Reply-To: <232983.1651193469@sss.pgh.pa.us>
References: <CA+FDo=s=Bg6KCeddW345N=azq2O+KvGxpnSELR5YoNrVXzpfUg@mail.gmail.com> <e8b4727d30636d26b8fa29a8aa59e62516af20b9.camel@cybertec.at> <368888.1651066718@sss.pgh.pa.us> <CA+FDo=vS4PMxWY0kmWOLmCnjt4_jcE2sUdXr_YvDCdxHk0tNKQ@mail.gmail.com> <229474.1651191400@sss.pgh.pa.us> <CA+FDo=tuKbBqzXT=BcFrycLCb0pg-+PrkD3hwNGx5YrLHH+L1Q@mail.gmail.com> <232983.1651193469@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