Actions
Bug #1072
open
PP
PP
configure does not check for needed Libxml2 symbols
Bug #1072:
configure does not check for needed Libxml2 symbols
Start date:
11/01/2016
Due date:
% Done:
0%
Estimated time:
Description
LTTng-tools's 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
Actions