From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Sam Kidman <sam@fresho.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: errcodes.h and others not generated when compiling 13.6 on M1 Mac
Date: Wed, 27 Apr 2022 12:51:11 +0200
Message-ID: <e8b4727d30636d26b8fa29a8aa59e62516af20b9.camel@cybertec.at> (raw)
In-Reply-To: <CA+FDo=s=Bg6KCeddW345N=azq2O+KvGxpnSELR5YoNrVXzpfUg@mail.gmail.com>
References: <CA+FDo=s=Bg6KCeddW345N=azq2O+KvGxpnSELR5YoNrVXzpfUg@mail.gmail.com>
On Wed, 2022-04-27 at 10:05 +1000, Sam Kidman wrote:
> I recently upgraded one of our applications to use postgres 13.6. When I try to compile
> from a source checkout or by running asdf install (our version manager which also compiles 13.6)
> I get the same error message:
>
> ../../src/include/utils/elog.h:71:10: fatal error: 'utils/errcodes.h' file not found
>
> After digging around in the source it looks like it's supposed to be generated. I can't
> figure out why this isn't working on my machine though. It seems to happen on any M1 mac
> (my colleagues can reproduce it)
>
> Any help on how to fix or debug this further would beĀ appreciated.
I'd say that you didn't ./configure the PostgreSQL source.
Yours,
Laurenz Albe
--
Cybertec | https://www.cybertec-postgresql.com
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: laurenz.albe@cybertec.at, sam@fresho.com
Subject: Re: errcodes.h and others not generated when compiling 13.6 on M1 Mac
In-Reply-To: <e8b4727d30636d26b8fa29a8aa59e62516af20b9.camel@cybertec.at>
References: <CA+FDo=s=Bg6KCeddW345N=azq2O+KvGxpnSELR5YoNrVXzpfUg@mail.gmail.com> <e8b4727d30636d26b8fa29a8aa59e62516af20b9.camel@cybertec.at>
* 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