libxml2-2.6.26

Introduction to libxml2

The libxml2 package contains XML libraries. These are useful for parsing XML files.

Package Information

libxml2 Dependencies

Optional

libxslt-1.1.17 (used for the test suite if found, but not required) and Python-2.4.4 (will install a Python library module if found)

Optional (Required to Run the Full Suite of Tests)

Python-2.4.4 and Wget-1.10.2

[Note]

Note

Some packages which utilize libxml2 (such as GNOME Doc Utils) need the Python module installed to function properly and some packages (such as GNOME Panel) will not build properly if the Python module is not available.

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/libxml2

Installation of libxml2

Install libxml2 by running the following commands:

./configure --prefix=/usr &&
make

To test the results, issue: make check.

Now, as the root user:

make install

Command Explanations

--with-history: If this option is used, it enables readline support when running xmlcatalog in shell mode.

[Caution]

Caution

When using history support, make check will hang forever if either /etc/inputrc or ~/.inputrc has the option show-all-if-ambiguous turned on.

Contents

Installed Programs: xml2-config, xmlcatalog, and xmllint
Installed Libraries: libxml2.{so,a} and optionally, the libxml2mod.{so,a} Python module
Installed Directories: /usr/include/libxml2, /usr/share/doc/libxml2-2.6.26, /usr/share/doc/libxml2-python-2.6.26 and /usr/share/gtk-doc/html/libxml2

Short Descriptions

xml2-config

determines the compile and linker flags that should be used to compile and link programs that use libxml2.

xmlcatalog

is used to monitor and manipulate XML and SGML catalogs.

xmllint

parses XML files and outputs reports (based upon options) to detect errors in XML coding.

libxml2.{so,a}

libraries provide the functions for programs to parse files that use the XML format.

Last updated on 2006-12-06 13:04:07 -0600