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

From Laurenz Albe
Subject Re: errcodes.h and others not generated when compiling 13.6 on M1 Mac
Date
Msg-id e8b4727d30636d26b8fa29a8aa59e62516af20b9.camel@cybertec.at
Whole thread Raw
In response to errcodes.h and others not generated when compiling 13.6 on M1 Mac  (Sam Kidman <sam@fresho.com>)
Responses Re: errcodes.h and others not generated when compiling 13.6 on M1 Mac  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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




pgsql-general by date:

Previous
From: Laurenz Albe
Date:
Subject: Re: Fresh eyeballs needed: input into error
Next
From: Radoslav Nedyalkov
Date:
Subject: partitioned tables in high OLTP db