Project

General

Profile

Actions

Bug #1072

open

configure does not check for needed Libxml2 symbols

Added by Philippe Proulx about 8 years ago.

Status:
New
Priority:
Low
Target version:
-
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-minimum simply "resets" the enabled modules to none.
  • --with-sax1 is needed for basic XML parsing (load).
  • --with-tree is needed for querying an XML document as a tree (load).
  • --with-writer is needed for writing XML (save, MI).
  • --with-schemas is 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

Also available in: Atom PDF