errcodes.h and others not generated when compiling 13.6 on M1 Mac - Mailing list pgsql-general

From Sam Kidman
Subject errcodes.h and others not generated when compiling 13.6 on M1 Mac
Date
Msg-id CA+FDo=s=Bg6KCeddW345N=azq2O+KvGxpnSELR5YoNrVXzpfUg@mail.gmail.com
Whole thread Raw
Responses Re: errcodes.h and others not generated when compiling 13.6 on M1 Mac
List pgsql-general
Hello

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.

Regards, Sam

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Backing up a DB excluding certain tables
Next
From: Bryn Llewellyn
Date:
Subject: "create function... depends on extension..." not supported. Why?