Re: Error running configure on Mac

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: samay sharma <smilingsamay(at)gmail(dot)com>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Error running configure on Mac
Date: 2022-01-24 07:14:50
Message-ID: 1815720.1643008490@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

samay sharma <smilingsamay(at)gmail(dot)com> 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: error: C compiler "gcc" does not support C99

That is bizarre. Can you show the segment of config.log
that corresponds to this? The exact error message that
the compiler is reporting would be useful.

Also, I wonder if you are using Apple's gcc (yeah, that's
really clang), or a gcc from MacPorts or Brew or the like.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michail Nikolaev 2022-01-24 07:33:43 Re: [PATCH] Full support for index LP_DEAD hint bits on standby
Previous Message samay sharma 2022-01-24 07:07:55 Error running configure on Mac