6.39. Expat-2.2.9

The Expat package contains a stream oriented C library for parsing XML.

Approximate build time: 0.1 SBU
Required disk space: 11 MB

6.39.1. Installation of Expat

First fix a problem with the regression tests in the LFS environment:

sed -i 's|usr/bin/env |bin/|' run.sh.in

Prepare Expat for compilation:

./configure --prefix=/usr    \
            --disable-static \

Compile the package:


To test the results, issue:

make check

Install the package:

make install

If desired, install the documentation:

install -v -m644 doc/*.{html,png,css} /usr/share/doc/expat-2.2.9

6.39.2. Contents of Expat

Installed program: xmlwf
Installed libraries: libexpat.so
Installed directory: /usr/share/doc/expat-2.2.9

Short Descriptions


Is a non-validating utility to check whether or not XML documents are well formed


Contains API functions for parsing XML