Expat

From CBLFS
Revision as of 22:16, 7 December 2006 by Kalessin (talk | contribs) (I filled out the "Contents" section more fully and put it in table format.)
Jump to navigationJump to search
Download Source: http://prdownloads.sourceforge.net/expat/expat-2.0.0.tar.gz

Introduction to Expat

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

Dependencies

Non-Multilib

Configure and compile the package:

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

Install the package:

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

Multilib

32Bit

Configure and compile the package:

CC="gcc ${BUILD32}" ./configure --prefix=/usr &&
make

Install the package:

make install

N32

Configure and compile the package:

CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 &&
make

Install the package:

make install

64Bit

Configure and compile the package:

CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 &&
make

Install the package:

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

Contents

Installed Programs: xmlwf
Installed Libraries: libexpat.{so,a}
Installed Directory: /usr/share/doc/expat-2.0.0

Short Description

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.