Re: [xml] libxml2 installs to /include/libxm2/libxml on MinGW - bug?
- From: Csaba Raduly <rcsaba gmail com>
- To: Cordylus Interneter <cordylus zoho com>
- Cc: xml <xml gnome org>
- Subject: Re: [xml] libxml2 installs to /include/libxm2/libxml on MinGW - bug?
- Date: Mon, 14 Nov 2016 09:26:36 +0100
Hi,
On Sun, Nov 13, 2016 at 7:05 PM, Cordylus Interneter wrote:
libxml2 installs to {$prefix}/include/libxm2/libxml on MinGW, I expected it to be in
{$prefix}/include/libxml since it is usually included as <libxml/parser.h>, is this a bug? Or should I add
some configure switch? Once I move headers, everything works normally. I'm installing it like so: cd
libxml2-2.9.4\win32 && cscript.exe configure.js compiler=mingw prefix=..\..\build iconv=no && mingw32-make
install-libs
No, it's not a bug. You're supposed to add the -I/usr/include/libxml2
flag to your compiler invocation (CPPFLAGS in the makefile). #include
<libxml/parser.h> would then find it.
Csaba
--
GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++
The Tao of math: The numbers you can count are not the real numbers.
Life is complex, with real and imaginary parts.
"Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds
"People disagree with me. I just ignore them." -- Linus Torvalds
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]