From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Thomas Munro <thomas.munro@gmail.com>
Cc: Condor <condor@stz-bg.com>
Cc: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: Unable to compile postgres 13.1 on Slackware current x64
Date: Mon, 16 Nov 2020 18:14:06 +0100
Message-ID: <d0d43e6b3794a85bf769023a4e8b36d1bbf23d59.camel@cybertec.at> (raw)
In-Reply-To: <CA+hUKG+XnrPeVJaSE2cscA3ouvxeNzwTGU-cHpAKd-Jfzew8uA@mail.gmail.com>
References: <7a6f3336165bfe3ca66abcda7966f9d0@stz-bg.com>
<72da0c8a1303691faed52afc641713a65b5eb80f.camel@cybertec.at>
<CA+hUKG+XnrPeVJaSE2cscA3ouvxeNzwTGU-cHpAKd-Jfzew8uA@mail.gmail.com>
On Mon, 2020-11-16 at 22:17 +1300, Thomas Munro wrote:
> 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
Ugh, you are right. Joy.
This will be annoying to work around.
Yours,
Laurenz Albe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: laurenz.albe@cybertec.at, thomas.munro@gmail.com, condor@stz-bg.com
Subject: Re: Unable to compile postgres 13.1 on Slackware current x64
In-Reply-To: <d0d43e6b3794a85bf769023a4e8b36d1bbf23d59.camel@cybertec.at>
References: <7a6f3336165bfe3ca66abcda7966f9d0@stz-bg.com> <72da0c8a1303691faed52afc641713a65b5eb80f.camel@cybertec.at> <CA+hUKG+XnrPeVJaSE2cscA3ouvxeNzwTGU-cHpAKd-Jfzew8uA@mail.gmail.com> <d0d43e6b3794a85bf769023a4e8b36d1bbf23d59.camel@cybertec.at>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox