Re: [xml] libxml2 installs to /include/libxm2/libxml on MinGW - bug?

Thank you for the answer.

I've also filed two bug reports about libxslt installation a couple of days ago, but I feel they went 
unnoticed, so please check them out:
I am unsure about the second one, but this is really the only software package that I encountered that puts 
compiled DLLs in lib.

 ---- On Mon, 14 Nov 2016 10:26:36 +0200 Csaba Raduly <rcsaba gmail com> wrote ---- 
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. 
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]