Expat-2.0.1

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.0 platform.

Package Information

Additional Downloads

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

Installation of Expat

Install Expat by running the following commands:

patch -Np1 -i ../expat-2.0.1-fixes-3.patch &&
./configure --prefix=/usr &&
make

Now, as the root user:

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

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 the static library in this package being built and installed.

Contents

Installed Program: xmlwf
Installed Library: libexpat.{so,a}
Installed Directory: /usr/share/doc/expat-2.0.1

Short Descriptions

xmlwf

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

libexpat.{so,a}

contains API functions for parsing XML.

Last updated on 2011-10-31 19:38:44 +0000