Re: [xml] missing SAX1 support without giving --without-sax1
- From: Daniel Veillard <veillard redhat com>
- To: Petr Sumbera <petr sumbera oracle com>
- Cc: xml gnome org
- Subject: Re: [xml] missing SAX1 support without giving --without-sax1
- Date: Mon, 29 Oct 2012 14:18:13 +0800
On Fri, Oct 26, 2012 at 04:51:15PM +0200, Petr Sumbera wrote:
Hi,
not sure what is happening here. I'm getting following during 2.9.0
build on S11.1:
  CCLD   xmllint
Undefined                       first referenced
 symbol                             in file
docbSAXParseDoc                     ./.libs/libxml2.so
docbParseFile                       ./.libs/libxml2.so
docbParseDocument                   ./.libs/libxml2.so
xmlSaveNoEmptyTagsThrDef            ./.libs/libxml2.so
xmlXPathNZERO                       ./.libs/libxml2.so
xmlUnicodeCatTbl                    ./.libs/libxml2.so
xmlNanoHTTPFetchContent             ./.libs/libxml2.so
docbEncodeEntities                  ./.libs/libxml2.so
docbFreeParserCtxt                  ./.libs/libxml2.so
xmlUnicodeBlockTbl                  ./.libs/libxml2.so
docbCreatePushParserCtxt            ./.libs/libxml2.so
docbCreateFileParserCtxt            ./.libs/libxml2.so
docbParseChunk                      ./.libs/libxml2.so
docbParseDoc                        ./.libs/libxml2.so
docbSAXParseFile                    ./.libs/libxml2.so
ld: fatal: symbol referencing errors. No output written to .libs/xmllint
At least first one seems to be because configure sets
WITH_SAX1_SOURCES_TRUE to '#'.
And this is because  WITH_TRIO is not '1'. While it seems that it's
'1' just for HP something systems.
So I'm confused.
  It's weird. I wonder if this isn't a bug in the follwing part of
configure.in:
if test "$with_sax1" = "no" ; then
    echo Disabling the older SAX1 interface
    WITH_SAX1=0
    TEST_SAX=
else    
    WITH_SAX1=1
    TEST_SAX=SAXtests
fi
AC_SUBST(WITH_SAX1)
AM_CONDITIONAL(WITH_SAX1_SOURCES, test "${WITH_TRIO}" = "1")
AC_SUBST(TEST_SAX)
  I would guess the AM_CONDITIONAL should test WITH_SAX1 there not
WITH_TRIO.
  Could you try to make the change and see if this fixes the issue on
S11 ?
 thanks,
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]