Difference between revisions of "Expat"

From CBLFS
Jump to navigationJump to search
(I added the package description from BLFS.)
(I filled out the "Contents" section more fully and put it in table format.)
Line 66: Line 66:
 
== Contents ==
 
== Contents ==
  
* Installed Program: xmlwf
+
{| style="text-align: left;"
* Installed Library: libexpat.{so,la,a}
+
|-
 +
! Installed Programs:
 +
| xmlwf
 +
|-
 +
! Installed Libraries:
 +
| libexpat.{so,a}
 +
|-
 +
! Installed Directory:
 +
| /usr/share/doc/expat-2.0.0
 +
|}
  
 
=== Short Description ===
 
=== Short Description ===
  
xmlwf: xmlwf uses the Expat library to determine if an XML document  is  well-formed.
+
{| style="text-align: left;"
 +
|-
 +
! 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.
 +
|}

Revision as of 22:16, 7 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 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.