> > Has anyone been successfull compiling libxml-2.4.26 using mingw under msys
> > OR cygwin?
> > When I run ./configure all is fine, then, I run make. The output is as
> > follows:
> > $ make
> > gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -g -O2 -Wall -c
> > SAX.c -DDLL_EXPORT -DPIC -o .libs/SAX.lo
> > In file included from libxml.h:13,
> > from SAX.c:11:
> > include/win32config.h:51: parse error before "sizeof"
[snip lots of downstream errors]
I have built libxml-2.4.22 (not .26) using mingw.
One of my coworkers discussed the changes I made with
the libxml2 maintainers; they weren't accepted,
apparently because it was felt they'd break the build
for some other platform, and I didn't look into it
further because Elizabeth Barham:
who had seen my patches and also knows something about
autotools seemed to be carrying the torch better than
I can. Did Elizabeth's changes get applied in 2.4.26?
If not, then please try her patch and see if that
works. But if that doesn't work, let me know and I'll
look into it when I find the time. Earnie offered to
host a reasonable mingw patch if the maintainers of
libxml2 don't want to, and I didn't take up that
offer only because I hoped Elizabeth's efforts would
But libxml2 is too important to let it fail to work
with mingw, so one way or another we'll get it fixed.