%general-entities; %patches-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: ./configure --prefix=/tools \ --host=${LFS_TARGET} --disable-libasprintf \ --without-csharp --cache-file=config.cache The meaning of the configure options: --disable-libasprintf This flag tells Gettext not to build the asprintf library. Because nothing in this chapter or the next requires this library a nd Gettext gets rebuilt later, exclude it to save time and space. --without-csharp This ensures that Gettext does not build support for the C# compiler which may be present on the host but will not be available when building the final system. Compile the package: make Install the package: make install <para>Details on this package are located in <xref linkend="contents-gettext" role="."/></para> </sect2> </sect1>