MidgardOS Developer Documentation

A website documenting creating the build root for MidgardOS


Section 5 - Building the Base System Tools

Navigation    
« GNU GPerf HOME Expat 32-bit »

Expat 64-bit

Name: Expat 64-bit
Summary: An XML stream parsing library
License: MIT
Version: 2.7.3
URL: https://github.com/libexpat/libexpat/releases/download/R_2_7_3/expat-2.7.3.tar.xz

Average Build Time: 0.1 SBU
Used Install Space: 14 MiB

Configuration

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

./configure --prefix=/usr           \
            --libdir=/usr/lib64     \
            --libexecdir=/usr/lib64 \
            --disable-static        \
            --docdir=/usr/share/doc/expat-2.7.3

Compilation and Installation

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

make

Next, run the test suite:

make check

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

make install
rm -fv /usr/lib64/libexpat.la
install -v -m644 doc/*.{html,css} /usr/share/doc/expat-2.7.3

NOTE: Do not delete the unpacked sources after build.

Contents

Contents  
Installed Programs xmlwf
Installed Libraries libexpat.so
Navigation    
« GNU GPerf HOME Expat 32-bit »