Re: errcodes.h and others not generated when compiling 13.6 on M1 Mac

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: Sam Kidman <sam(at)fresho(dot)com>, pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: errcodes.h and others not generated when compiling 13.6 on M1 Mac
Date: 2022-04-27 10:51:11
Message-ID: e8b4727d30636d26b8fa29a8aa59e62516af20b9.camel@cybertec.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Radoslav Nedyalkov 2022-04-27 11:38:41 partitioned tables in high OLTP db
Previous Message Laurenz Albe 2022-04-27 10:49:30 Re: Fresh eyeballs needed: input into error