MidgardOS Developer Documentation

A website documenting creating the build root for MidgardOS


Section 5 - Building the Base System Tools

Navigation    
« GNU PinEntry HOME LibXML2 32-bit »

LibXML2 64-bit

Name: LibXML2 64-bit
Summary: An XML processing library
License: MIT
Version: 2.15.1
URL: https://download.gnome.org/sources/libxml2/2.15/libxml2-2.15.1.tar.xz

Average Build Time: 0.2 SBU
Used Install Space: 5.2 MiB

Configuration

To configure LibXML2 64-bit for install into the build root, run the following command:

./configure --prefix=/usr                           \
            --libdir=/usr/lib64                     \
            --libexecdir=/usr/lib64                 \
            --docdir=/usr/share/doc/libxml2-2.15.1  \
            --disable-static                        \
            --with-history

Compilation and Installation

To compile LibXML2 64-bit, run the following command:

make

Next, run the test suite:

make check

Finally, to install LibXML2 64-bit into the build tree, run the following commands:

make install
rm -fv /usr/lib64/libxml2.la

NOTE: Do not delete the unpacked sources after build.

Contents

Contents  
Installed Programs xml2-config, xmlcatalog, and xmllint
Installed Libraries libxml2.so
Navigation    
« GNU PinEntry HOME LibXML2 32-bit »