Re: [RFC] building postgres with meson - Mailing list pgsql-hackers

From Thomas Munro
Subject Re: [RFC] building postgres with meson
Date
Msg-id CA+hUKGKCh-t10v8TwNZvESbaqdmQThMtqJAivr3QYu2YNdsakg@mail.gmail.com
Whole thread Raw
In response to Re: [RFC] building postgres with meson  (John Naylor <john.naylor@enterprisedb.com>)
List pgsql-hackers
On Thu, Oct 14, 2021 at 4:51 AM John Naylor
<john.naylor@enterprisedb.com> wrote:
> /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/LDAP.framework/Headers/ldap.h:1:10:
error:#include nested too deeply
 
> #include <ldap.h>
>          ^

I vaguely recall that PostgreSQL should build OK against Apple's copy
of OpenLDAP.  That recursive include loop is coming from a "framework"
header that contains just a couple of lines like #include <ldap.h> to
try to include the real header, which should also be in the include
path, somewhere like
/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/usr/include/ldap.h.
I think we'd need to figure out where that
-I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/LDAP.framework/Headers
directive is coming from and get rid of it, so we can include the real
header directly.



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: PATCH: psql tab completion for SELECT
Next
From: Andrey Lepikhov
Date:
Subject: Re: Make query ID more portable