[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cannot compile under cygwin because of gnulib/uninorm
From: |
Bruno Haible |
Subject: |
Re: cannot compile under cygwin because of gnulib/uninorm |
Date: |
Wed, 04 Dec 2024 07:53:22 +0100 |
[CCing Brian Inglis]
Denis Excoffier wrote in
<https://lists.gnu.org/archive/html/bug-gettext/2024-12/msg00064.html>:
> I tried to build gettext-0.23 under cygwin (recent).
> It failed with two errors to a reference to a non const variable.
> I had to apply the following (see below) and this is fine now.
> gettext-0.22.5 was ok.
The patch is obviously wrong [1].
Since you say that it was OK with gettext 0.22.5, it is clear that it
is related to the GNU libunistring version that you have installed.
And since you mention "non-const variable", it is also clear that it
is caused by the Windows DLL mechanism. Therefore the available fixes
are:
(a) Build and install GNU libunistring 1.3 first, and make it a
prerequisite.
(b) Build gettext with --with-included-libunistring. This will not
use a preinstalled libunistring.
(c) Build that particular compilation unit with a C++ compiler instead
of a C compiler.
I would recommend (a) or (b).
Bruno
[1] It introduces an endless recursion.
- cannot compile under cygwin because of gnulib/uninorm, Denis Excoffier, 2024/12/03
- Re: cannot compile under cygwin because of gnulib/uninorm,
Bruno Haible <=
- Re: cannot compile under cygwin because of gnulib/uninorm, Brian Inglis, 2024/12/04
- Re: gettext binaries for Cygwin, Bruno Haible, 2024/12/04
- Re: gettext binaries for Cygwin, Brian Inglis, 2024/12/04
- Re: gettext binaries for Cygwin, Bruno Haible, 2024/12/04
- Re: gettext binaries for Cygwin, Brian Inglis, 2024/12/04
- Re: gettext binaries for Cygwin, Bruno Haible, 2024/12/04
- Re: gettext binaries for Cygwin, Brian Inglis, 2024/12/04
- Re: gettext binaries for Cygwin, Bruno Haible, 2024/12/04
- Re: gettext binaries for Cygwin, Brian . Inglis, 2024/12/04
- Re: gettext binaries for Cygwin, Bruno Haible, 2024/12/05