LDP/LDP/retired/LFS/chapter05/gettext.xml

42 lines
1.2 KiB
XML

<sect1 id="ch05-gettext">
<title>Installing Gettext-&gettext-version;</title>
<?dbhtml filename="gettext.html" dir="chapter05"?>
<screen>Estimated build time: &gettext-time-tools;
Estimated required disk space: &gettext-compsize-tools;</screen>
&aa-gettext-shortdesc;
&aa-gettext-dep;
<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
<sect2>
<title>Installation of Gettext</title>
<para>Prepare Gettext for compilation:</para>
<screen><userinput>./configure --prefix=/tools</userinput></screen>
<para>Compile the programs:</para>
<screen><userinput>make</userinput></screen>
<para>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:</para>
<screen><userinput>make check</userinput></screen>
<para>And install the package:</para>
<screen><userinput>make install</userinput></screen>
</sect2>
</sect1>