[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Interference between two installations of gnulib

From: Bruno Haible
Subject: Re: Interference between two installations of gnulib
Date: Sun, 11 Apr 2021 21:32:15 +0200
User-agent: KMail/5.1.3 (Linux/4.4.0-206-generic; KDE/5.18.0; x86_64; ; )

Hi Reuben,

> I have made two installations of gnulib in a project, because I am using
> both relocatable-prog and relocatable-lib-lgpl.
> I have different modules installed for each, of course.
> I just had a problem where my library would not compile, because it was
> missing setlocale_null.h. GNULIB_SETLOCALE_NULL was indeed set to 1 by
> configure.
> The "library gnulib" uses only "locale", which does not depend on
> setloacle-null, while the "program gnulib" uses "quote", which does.
> I was able to work around this by adding "setlocale" to the library gnulib
> (I could not use "quote", as that is a GPL module); but have I done
> something wrong here? I can't see how I would fix this in general without
> having two configure scripts…

Having two separate configure scripts is undesirable, because that would
increase the total configure time of the package (and people have already
complained about the configure time).

The same problem is seen also in GNU gettext and in GNU poke. I'm fixing it
through the attached patch set.

So, you can now remove 'setlocale' from the modules of your library again.


Attachment: 0001-Rename-GNULIB_OVERRIDES_WINT_T.patch
Description: Text Data

Description: Text Data

Attachment: 0003-Support-several-gnulib-tool-invocations-under-the-sa.patch.gz
Description: application/gzip

reply via email to

[Prev in Thread] Current Thread [Next in Thread]