Stefan Leichter wrote:

pkg-config --libs libxml-2.0
Package libxml-2.0 was not found in the pkg-config search path.

I'm not really sure why your pkg-config doesn't know about libxml2, and I'm not sure why you have /usr/include/libxml/parser.h... maybe you added a symlink to /usr/include/libxml -> libxml2/libxml to solve a earlier compile problem? If so, maybe deleting it will solve the problem.

In anycase, does the following patch fix the problem?

Mike
Index: configure.ac
===================================================================
RCS file: /home/wine/wine/configure.ac,v
retrieving revision 1.393
diff -u -p -r1.393 configure.ac
--- configure.ac	11 Aug 2005 17:12:19 -0000	1.393
+++ configure.ac	12 Aug 2005 06:46:14 -0000
@@ -450,7 +450,7 @@ then
     AC_CHECK_HEADERS(libxml/parser.h,
         [AC_CHECK_LIB(xml2, xmlParseMemory,
             [AC_DEFINE(HAVE_LIBXML2, 1, [Define if you have the libxml2 library])
-             XML2LIBS="$ac_xml_libs"
+             XML2LIBS="-lxml2 $ac_xml_libs"
              XML2INCL="$ac_xml_cflags"],,$ac_xml_libs)])
     CPPFLAGS="$ac_save_CPPFLAGS"
 fi

Reply via email to