Re: [RFC] building postgres with meson

Поиск
Список
Период
Сортировка
От Thomas Munro
Тема Re: [RFC] building postgres with meson
Дата
Msg-id CA+hUKGKCh-t10v8TwNZvESbaqdmQThMtqJAivr3QYu2YNdsakg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [RFC] building postgres with meson  (John Naylor <john.naylor@enterprisedb.com>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: PATCH: psql tab completion for SELECT
Следующее
От: Andrey Lepikhov
Дата:
Сообщение: Re: Make query ID more portable