Difference between revisions of "Expat"

From CBLFS
Jump to navigationJump to search
(Added contents.)
(I added the package description from BLFS.)
Line 7: Line 7:
  
 
----
 
----
 +
 +
== Introduction to Expat ==
 +
 +
The Expat package contains a stream oriented C library for parsing XML.
  
 
== Dependencies ==
 
== Dependencies ==

Revision as of 14:57, 2 December 2006

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 Program: xmlwf
  • Installed Library: libexpat.{so,la,a}

Short Description

xmlwf: xmlwf uses the Expat library to determine if an XML document is well-formed.