[Top][All Lists]

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

Re: [lmi] Ignore "harmless" 'configure' warnings?

From: Vadim Zeitlin
Subject: Re: [lmi] Ignore "harmless" 'configure' warnings?
Date: Thu, 31 Aug 2017 00:51:42 +0200

On Wed, 30 Aug 2017 22:28:47 +0000 Greg Chicares <address@hidden> wrote:

GC> On 2017-08-30 13:03, Greg Chicares wrote:
GC> > On 2017-08-30 01:28, Greg Chicares wrote:
GC> [...]
GC> >> I rebuilt lmi after building libxml2 with xz
GC> I configured libxml2 with
GC>   --with-lzma=/opt/lmi/local
GC> and everything just works. I wonder, though, about seemingly contradictory
GC> information in its 'config.log', which says:
[...big snip...]
GC> Should I conclude that 'configure' habitually emits false-positive
GC> warnings which should just be ignored if everything works out in
GC> the end--i.e., that it's only neurotic to treat it like a compiler
GC> and strive to remove the root cause of every single warning?

 It's just a bug in libxml2 configure. I've reported it at
https://bugzilla.gnome.org/show_bug.cgi?id=787041 and the fix (at least the
minimal fix, as I'd change more things in their configure script...) is
quite trivial and if the warnings really both you, I could make a patch to
apply to libxml2 before building it in order to avoid them.

GC> Or is it that I'm missing something important, and it's actually
GC> imperative for some unseen reason to specify $(prefix) in both
GC> PKG_CONFIG_PATH and a '--with-lzma' argument?

 AFAICS adding /opt/lmi/local/lib/pkgconfig to PKG_CONFIG_PATH should be
sufficient and would be preferable to explicitly specifying --with-lzma
argument, if only because it would work for all libraries (if another one
is ever needed) and not just this one, but also because using pkg-config is
safer as it could check for the appropriate library version, for example
(even if currently it doesn't).


reply via email to

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