From: nljlistbox2@gmail.com (N. Jackson)
To: Eli Zaretskii <eliz@gnu.org>
Cc: 26050@debbugs.gnu.org
Subject: bug#26050: 25.2; configure: no libxml2 support with libxml2 installed
Date: Fri, 10 Mar 2017 13:42:17 -0500 [thread overview]
Message-ID: <87fuil0y9i.fsf@moondust.localdomain> (raw)
In-Reply-To: <83r325dr0p.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 10 Mar 2017 18:40:22 +0200")
tags 26050 notabug
close 26050
done
Sorry, this was a user error.
I simply didn't have the libxml2 development package on this
system. Gets me every time! (Although usually I don't get as far
as filing a bug report.)
So the fix was as simple as:
# dnf install libxml2-devel
At 18:40 +0200 on Friday 2017-03-10, Eli Zaretskii wrote:
>
> What does config.log say about the libxml2 tests?
Sorry, I'd forgotten about that file! Here's what it was saying earlier:
configure-test:16329: checking for LIBXML2
configure-test:16338: $PKG_CONFIG --exists --print-errors "libxml-2.0 > 2.6.17"
Package libxml-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libxml-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libxml-2.0' found
configure-test:16341: $? = 1
configure-test:16361: $PKG_CONFIG --exists --print-errors "libxml-2.0 > 2.6.17"
Package libxml-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libxml-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libxml-2.0' found
configure-test:16364: $? = 1
configure-test:16381: result: no
No package 'libxml-2.0' found
Now that everything works, it says:
configure:16328: checking for LIBXML2
configure:16335: $PKG_CONFIG --exists --print-errors "libxml-2.0 > 2.6.17"
configure:16338: $? = 0
configure:16352: $PKG_CONFIG --exists --print-errors "libxml-2.0 > 2.6.17"
configure:16355: $? = 0
configure:16393: result: yes
configure:16428: checking for htmlReadMemory in -lxml2
configure:16453: gcc -o conftest -g3 -O2 conftest.c -lxml2 -lxml2 -lX11 >&5
configure:16453: $? = 0
configure:16462: result: yes
Is it my imagination, or was there a time in the past when
configure printed a friendly message suggesting the installation
of the development package for a library when it failed to find
something like this?
N.
next prev parent reply other threads:[~2017-03-10 18:42 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-10 16:07 bug#26050: 25.2; configure: no libxml2 support with libxml2 installed N. Jackson
2017-03-10 16:40 ` Eli Zaretskii
2017-03-10 18:42 ` N. Jackson [this message]
2017-03-10 18:49 ` Eli Zaretskii
2017-03-10 19:13 ` Noam Postavsky
2017-03-10 16:50 ` Noam Postavsky
2017-03-10 17:58 ` Glenn Morris
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87fuil0y9i.fsf@moondust.localdomain \
--to=nljlistbox2@gmail.com \
--cc=26050@debbugs.gnu.org \
--cc=eliz@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).