configure does not check for needed Libxml2 symbols
configure script checks for the existence and version of Libxml2 with pkg-config, but it does not check for the exact needed symbols. Libxml2 has a lot of
--with- configuration options, some of which can disable modules that LTTng-tools needs.
I suggest that we check one selected symbol per module. This should ensure that at least the module exists, which should guarantee that the other symbols are available too.
It looks like the following Libxml2 configuration options enable the needed modules:
--with-minimum --with-sax1 --with-tree --with-writer --with-schemas
--with-minimumsimply "resets" the enabled modules to none.
--with-sax1is needed for basic XML parsing (load).
--with-treeis needed for querying an XML document as a tree (load).
--with-writeris needed for writing XML (save, MI).
--with-schemasis needed for XML validation (load).
All those options are available in the Libxml2 2.7.6 release (minimum required version by LTTng-tools).
No data to display