Difference between revisions of "LibXML2"

From CBLFS
Jump to navigationJump to search
(I added the package description from BLFS.)
m (I fixed some capitalization.)
Line 7: Line 7:
 
----
 
----
  
== Introduction to Libxml2 ==
+
== Introduction to LibXML2 ==
  
The Libxml2 package contains XML libraries. These are useful for parsing XML files.
+
The LibXML2 package contains XML libraries. These are useful for parsing XML files.
  
 
== Dependencies ==
 
== Dependencies ==

Revision as of 15:54, 2 December 2006

Download Source: http://ftp.gnome.org/pub/gnome/sources/libxml2/2.6/libxml2-2.6.26.tar.gz

Introduction to LibXML2

The LibXML2 package contains XML libraries. These are useful for parsing XML files.

Dependencies

Optional

  • Python && Wget to run the full test-suite.
  • LibXSLT is used in the test suite.
  • Python is needed for example to build gnome-panel.

Non-Multilib

Compile the package:

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

Install the package

make install

Multilib

32Bit

Compile the package:

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

Install the package

make install &&
mv -v /usr/bin/xml2-config{,-32}

N32

Compile the package:

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

Install the package

make install &&
mv -v /usr/bin/xml2-config{,-n32}

64Bit

Compile the package:

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

Install the package

make install &&
mv -v /usr/bin/xml2-config{,-64} &&
ln -sfv multiarch_wrapper /usr/bin/xml2-config
Retrieved from "?title=LibXML2&oldid=4264"