MidgardOS Developer Documentation

A website documenting creating the build root for MidgardOS


Section 4 - Entering the Chroot and More Temporary Tools

Navigation    
« Creating Essential Files and Symlinks HOME GNU Bison »

GNU Gettext

Name: GNU Gettext
Summary: Utilities for supporting i18n and l10n for applications
License: GPL v3 or later
Version: 1.0
URL: https://ftp.gnu.org/gnu/gettext/gettext-1.0.tar.xz

Configuration

To configure GNU Gettext for installation into the build root, run the following command:

./configure --prefix=/usr           \
            --libdir=/usr/lib64     \
            --libexecdir=/usr/lib64 \
            --disable-shared

For now, we only need a couple of applications from the utilities that are normally installed.

Compilation and Installation

To compile GNU Gettext, run the following command:

make

Finally, to install the minimal required tools from GNU Gettext into the build tree, run the following command:

for prgm in "msgfmt" "msgmerge" "xgettext"; do
    install -v -m 755 -o root -g root gettext-tools/src/$prgm /usr/bin/
done

More details about this package are covered later in the core system build.

Navigation    
« Creating Essential Files and Symlinks HOME GNU Bison »