Re: Unable to compile postgres 13.1 on Slackware current x64

Поиск
Список
Период
Сортировка
От Thomas Munro
Тема Re: Unable to compile postgres 13.1 on Slackware current x64
Дата
Msg-id CA+hUKG+XnrPeVJaSE2cscA3ouvxeNzwTGU-cHpAKd-Jfzew8uA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Unable to compile postgres 13.1 on Slackware current x64  (Laurenz Albe <laurenz.albe@cybertec.at>)
Ответы Re: Unable to compile postgres 13.1 on Slackware current x64  (Laurenz Albe <laurenz.albe@cybertec.at>)
Re: Unable to compile postgres 13.1 on Slackware current x64  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
On Mon, Nov 16, 2020 at 10:10 PM Laurenz Albe <laurenz.albe@cybertec.at> wrote:
> On Mon, 2020-11-16 at 09:15 +0200, Condor wrote:
> > collationcmds.c: In function ‘get_icu_language_tag’:
> > collationcmds.c:467:51: error: ‘TRUE’ undeclared (first use in this
> > function); did you mean ‘IS_TRUE’?
> >    467 |  uloc_toLanguageTag(localename, buf, sizeof(buf), TRUE, &status);
> >        |                                                   ^~~~
> >        |                                                   IS_TRUE
> >

> "UBool" and "TRUE" are defined in "umachine.h", which is a header file for the
> "libicu" library.
>
> PostgreSQL includes "unicode/ucol.h", which will include "umachine.h"
> (via "utypes.h"), so that should be fine.
>
> Are your libicu headers installed under /usr/include/unicode?
> Do you get any messages about missing include files earlier?

It looks like something happened to ICU's boolean macros .  See this
commit in FreeBSD ports:

https://github.com/freebsd/freebsd-ports/commit/81a88b4506ec06d07be10d199170ef4003eb0e30

... which references:

https://github.com/unicode-org/icu/commit/c3fe7e09d844



В списке pgsql-general по дате отправления:

Предыдущее
От: Laurenz Albe
Дата:
Сообщение: Re: Unable to compile postgres 13.1 on Slackware current x64
Следующее
От: Lukasz Biegaj
Дата:
Сообщение: Logical replication gradually slowing down, then hanging.