6.43. Expat-2.1.0

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

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

6.43.1. Installation of Expat

6.43.2. 32-bit Installation

Prepare Expat for 32-bit compilation:

./configure --prefix=/usr \
    --libdir=/usr/lib32   \
    CC="gcc -m32" CXX="g++ -m32"

Compile the package:

make

To test the results, issue:

make check

Install the package:

make install

Clean up the build directory before moving on to the next platform:

make clean

6.43.3. x32 ABI Installation

Prepare Expat for x32 ABI compilation:

./configure --prefix=/usr \
    --libdir=/usr/libx32  \
    CC="gcc -mx32" CXX="g++ -mx32"

Compile the package:

make

To test the results, issue:

make check

Install the package:

make install

Clean up the build directory before moving on to the next platform:

make clean

6.43.4. 64-bit Installation

Prepare Expat for 64-bit compilation:

./configure --prefix=/usr

Compile the package:

make

To test the results, issue:

make check

Install the package:

make install

If desired, install the documentation:

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

6.43.5. Contents of Expat

Installed program: xmlwf
Installed libraries: libexpat.{a,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

contains API functions for parsing XML