%general-entities; ]> Gettext-&gettext-version; Gettext temporary system Installation of Gettext Gettext has an issue with cross-compiling where it can't find getline. So we fix it here: echo "am_cv_func_working_getline=yes" >> config.cache Prepare Gettext for compilation: cd gettext-tools ./configure --prefix=/tools \ --host=${LFS_TARGET} --disable-shared \ --cache-file=config.cache The meaning of the configure options: --disable-shared This tells Gettext not to create a shared library. Compile the package: make -C lib make -C src msgfmt Install the package: cp -v src/msgfmt /tools/bin <para>Details on this package are located in <xref linkend="contents-gettext" role="."/></para> </sect2> </sect1>