Re: Error running configure on Mac

2022-01-24 Thread Andres Freund
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 p

Re: Error running configure on Mac

2022-01-24 Thread Andres Freund
Hi, On 2022-01-23 23:44:11 -0800, samay sharma wrote: > I also see many more error messages in config.log when I grep for error. > So, I've attached the entire file in case any other output is useful. The important lines seem to be: configure:4591: gcc -c -g -O2 conftest.c >&5 In file included

Re: Error running configure on Mac

2022-01-23 Thread samay sharma
On Sun, Jan 23, 2022 at 11:14 PM Tom Lane wrote: > samay sharma writes: > > I was trying to build Postgres from source on my Mac (MacOS Monterey > 12.1) > > and ran into an error when running configure. > > Works for me, and for other developers, and for assorted buildfarm > animals. > > > check

Re: Error running configure on Mac

2022-01-23 Thread Tom Lane
samay sharma writes: > I was trying to build Postgres from source on my Mac (MacOS Monterey 12.1) > and ran into an error when running configure. Works for me, and for other developers, and for assorted buildfarm animals. > checking for gcc option to accept ISO C99... unsupported > configure: er

Error running configure on Mac

2022-01-23 Thread samay sharma
Hi, I was trying to build Postgres from source on my Mac (MacOS Monterey 12.1) and ran into an error when running configure. ./configure ... checking for gcc option to accept ISO C99... unsupported configure: error: C compiler "gcc" does not support C99 When I do gcc --version I see: Confi