MSXML3: initial implementation based on libxml2

Saulius Krasuckas saulius2 at ar.fi.lt
Thu Aug 4 00:55:04 CDT 2005


* On Tue, 2 Aug 2005, Mike McCormack wrote:
> 
> This patch is a start on msxml3.  

I think I am stuck with an error with this patch in the CVS tree:

| make[2]: Entering directory `/mnt/antras/usr/src/wine-cvs/wine/dlls/msxml3'
| gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__  -DCOM_NO_WINDOWS_H -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -g -O2 -o domdoc.o domdoc.c
| In file included from domdoc.c:36:
| msxml_private.h:26:27: libxml/parser.h: No such file or directory
| In file included from domdoc.c:36:
| msxml_private.h:28: parse error before "xmlDocPtr"
| make[2]: *** [domdoc.o] Error 1
| make[2]: Leaving directory `/mnt/antras/usr/src/wine-cvs/wine/dlls/msxml3'

Here we go:

$ rpm -ql $(rpm -qf $(locate libxml/parser.h)) | grep -C3 libxml/parser.h
| /usr/include/libxml2/libxml/list.h
| /usr/include/libxml2/libxml/nanoftp.h
| /usr/include/libxml2/libxml/nanohttp.h
| /usr/include/libxml2/libxml/parser.h
| /usr/include/libxml2/libxml/parserInternals.h
| /usr/include/libxml2/libxml/relaxng.h
| /usr/include/libxml2/libxml/schemasInternals.h

I have this file.

$ grep libxml *
| config.log:configure:8752: checking libxml/parser.h usability
| config.log:configure:8764: gcc -c -g -O2  -I/usr/include/libxml2 conftest.c >&5
| config.log:configure:8797: checking libxml/parser.h presence
| config.log:configure:8807: gcc -E  -I/usr/include/libxml2 conftest.c
| config.log:configure:8868: checking for libxml/parser.h
| config.log:configure:8913: gcc -o conftest -g -O2  -I/usr/include/libxml2  conftest.c -lxml2   >&5
| config.log:ac_cv_header_libxml_parser_h=yes
| configure:CPPFLAGS="$CPPFLAGS -I/usr/include/libxml2"
| configure:for ac_header in libxml/parser.h
| configure:         XML2INCL="-I/usr/include/libxml2"
| configure.ac:dnl **** Check for libxml2 ****
| configure.ac:CPPFLAGS="$CPPFLAGS -I/usr/include/libxml2"
| configure.ac:AC_CHECK_HEADERS(libxml/parser.h,
| configure.ac:        [AC_DEFINE(HAVE_LIBXML2, 1, [Define if you have the libxml2 library])
| configure.ac:         XML2INCL="-I/usr/include/libxml2"])])

Headers are detected at configure time, it seems.  Checking XML2INCL in 
the dll dir:

$ grep -Ir XML2INCL dlls/msxml3/
| dlls/msxml3/Makefile.in:EXTRAINCL = @XML2INCL@

$ grep -Ir ^EXTRAINCL dlls/msxml3/
| dlls/msxml3/Makefile:EXTRAINCL = 
| dlls/msxml3/Makefile.in:EXTRAINCL = @XML2INCL@

Is this supposed to be so?  My makefile have empty EXTRAINCL var.  Why?



More information about the wine-devel mailing list