Re: [xml] missing SAX1 support without giving --without-sax1



On Mon, Oct 29, 2012 at 10:22:25AM +0100, Petr Sumbera wrote:
Dne 29.10.12 07:18, Daniel Veillard napsal(a):
On Fri, Oct 26, 2012 at 04:51:15PM +0200, Petr Sumbera wrote:
[...]
--- libxml2-2.9.0/configure.in.~1~      Mon Sep 10 20:52:46 2012
+++ libxml2-2.9.0/configure.in  Fri Oct 26 08:16:02 2012
@@ -1149,7 +1153,7 @@
     TEST_SAX=SAXtests
 fi
 AC_SUBST(WITH_SAX1)
-AM_CONDITIONAL(WITH_SAX1_SOURCES, test "${WITH_TRIO}" = "1")
+AM_CONDITIONAL(WITH_SAX1_SOURCES, test "${WITH_SAX1}" = "1")
 AC_SUBST(TEST_SAX)

And it worked. But I would expect that the same problem is on Linux
then too!?

  yeah it's surprizing, will fix

[...]
Undefined                       first referenced
 symbol                             in file
xmlSaveNoEmptyTagsThrDef            ./.libs/libxml2.so
xmlXPathNZERO                       ./.libs/libxml2.so
xmlUnicodeCatTbl                    ./.libs/libxml2.so
xmlNanoHTTPFetchContent             ./.libs/libxml2.so
xmlUnicodeBlockTbl                  ./.libs/libxml2.so

Note that libxml2.syms is our version of this file. So we had these
exported as public interface. And I removed the patch which was
turning them from static to public.

I guess that that these might have been as public interface in some
older libxml2 version. Do you have any comment to these?

  Not really, all of the should really be kept static at this point.

Daniel

-- 
Daniel Veillard      | Open Source and Standards, Red Hat
veillard redhat com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | virtualization library  http://libvirt.org/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]