Linux From Scratch: Version 5.0-pre3
Prev | Chapter 5. Constructing a temporary system | Next

# Installing Gettext-0.12.1

    Estimated build time:           7.2 SBU
    Estimated required disk space:  55 MB

## Contents of Gettext

(Last checked against version 0.12.1.)

The Gettext package is used for internationalization and localization. Programs can be compiled with Native Language Support (NLS) which enable them to output messages in the user's native language.

Installed programs: autopoint, config.charset, config.rpath, gettext, gettextize, hostname, msgattrib, msgcat, msgcmp, msgcomm, msgconv, msgen, msgexec, msgfilter, msgfmt, msggrep, msginit, msgmerge, msgunfmt, msguniq, ngettext, project-id, team-address, trigger, urlget, user-email and xgettext

Installed libraries: libasprintf[a,so], libgettextlib[a,so], libgettextpo[a,so] and libgettextsrc[a,so]

##

## Gettext Installation Dependencies

(Last checked against version 0.10.40.)

Bash: sh
Binutils: ar, as, ld, nm, ranlib, strip
Bison: bison
Coreutils: basename, cat, chmod, echo, expr, hostname, install, ln,
ls, mkdir, mv, rm, rmdir, sleep, sort, tr, uname, uniq
Diffutils: cmp
Gawk: gawk
GCC: cc, cc1, collect2, cpp, gcc
Grep: egrep, fgrep, grep
M4: m4
Make: make
Sed: sed
Texinfo: install-info, makeinfo

##

## Installation of Gettext

Prepare Gettext to be compiled:

    ./configure --prefix=/tools

Compile the programs:

    make

This package has a test suite available which can perform a number of checks to ensure it built correctly. However, the Gettext test suite here in Chapter 5 is known to experience failures under certain host conditions -- for example, if it finds a Java compiler on the host. The Gettext test suite takes a very long time to run and is not considered critical. Therefore, we don't recommend running it here. Should you choose to run it, the following command will do so:

    make check

And install the package:

    make install

Prev | Home | Next
Installing Sed-4.0.7 | Up | Installing Ncurses-5.3