%general-entities; %patches-entities; ]> Gettext-&gettext-version; Gettext temporary system <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../../final-system/common/gettext.xml" xpointer="xpointer(//*[@role='package']/para[1])"/> <segmentedlist> <segtitle>&buildtime;</segtitle> <segtitle>&diskspace;</segtitle> <seglistitem> <seg>Not checked yet</seg> <seg>Not checked yet</seg> </seglistitem> </segmentedlist> <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../../final-system/common/gettext.xml" xpointer="xpointer(//*[@role='package']/segmentedlist[2])"/> </sect2> <sect2 role="installation"> <title>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>