Expat-2.1.0

Introduction to Expat

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

This package is known to build and work properly using an LFS-7.5 platform.

Package Information

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

Installation of Expat

Install Expat by running the following commands:

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

Now, as the root user:

make install &&
install -v -m755 -d /usr/share/doc/expat-2.1.0 &&
install -v -m644 doc/*.{html,png,css} /usr/share/doc/expat-2.1.0

To test the results, issue: make check as an unprivileged user. Note this must be done after the package is installed.

Command Explanations

--disable-static: This switch prevents installation of static versions of the libraries.

Contents

Installed Program: xmlwf
Installed Library: libexpat.so
Installed Directory: /usr/share/doc/expat-2.1.0

Short Descriptions

xmlwf

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

libexpat.so

contains API functions for parsing XML.

Last updated on 2014-02-17 14:31:12 -0800