Details on this package are located in Section 6.36.2, “Contents of Gettext.”
The Gettext package contains utilities for internationalization and localization. These allow programs to be compiled with NLS (Native Language Support), enabling them to output messages in the user's native language.
For our temporary set of tools, we only need to build and install one binary from Gettext.
Prepare Gettext for compilation:
cd gettext-tools ./configure --prefix=/tools --disable-shared
The meaning of the configure option:
We do not need to install any of the shared Gettext libraries at this time, therefore there is no need to build them.
Compile the package:
make -C lib make -C src msgfmt
As only one binary has been compiled, it is not possible to run the testsuite without compiling additional support libraries from the Gettext package. It is therefore not recommended to attempt to run the testsuite at this stage.
Install the msgfmt binary:
cp -v src/msgfmt /tools/bin
Details on this package are located in Section 6.36.2, “Contents of Gettext.”