Re: Error running configure on Mac

From: Andres Freund <andres(at)anarazel(dot)de>
To: samay sharma <smilingsamay(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Error running configure on Mac
Date: 2022-01-24 19:47:03
Message-ID: 20220124194703.icmvzo5xrybcf4ki@alap3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

On 2022-01-24 08:41:39 -0800, samay sharma wrote:
> I've also attached the test.i file.

The problem is that you got a stdint.h in /usr/local/include/. And that
stdint.h doesn't match the system one. Which explains why there's a
compilation failure and also explains why others don't see this problem.

from test.i
> # 1 "/usr/local/include/stdint.h" 1 3 4
>
> #define _ISL_INCLUDE_ISL_STDINT_H 1
>
> #define _GENERATED_STDINT_H "isl 0.14.1"
>
> #define _STDINT_HAVE_STDINT_H 1
>
> # 1 "/usr/local/include/stdint.h" 1 3 4
> # 8 "/usr/local/include/stdint.h" 2 3 4
> # 73 "/Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/usr/include/sys/resource.h" 2 3 4

Greetings,

Andres Freund

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2022-01-24 20:02:22 Re: Why is src/test/modules/committs/t/002_standby.pl flaky?
Previous Message Bruce Momjian 2022-01-24 19:44:21 Re: pg_upgrade should truncate/remove its logs before running