Added a few comments here and there
[linux_from_scratch.git] / BOOK / chapter06 / gettext.xml
blobdad1b2d2cc709cb72ccff7717b436c2dc9ba59d4
1 <sect1 id="ch-system-gettext" xreflabel="Gettext">
2 <title>Installing Gettext-&gettext-version;</title>
3 <?dbhtml filename="gettext.html" dir="chapter06"?>
5 <para>The Gettext package contains utilities for internationalization and
6 localization. These allow programs to be compiled with Native Language Support
7 (NLS), enabling them to output messages in the user's native language.</para>
9 <screen>&buildtime; &gettext-time;
10 &diskspace; &gettext-compsize;</screen>
12 &aa-gettext-down;
13 &aa-gettext-dep;
15 <sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
17 <sect2>
18 <title>Installation of Gettext</title>
20 <para>Prepare Gettext for compilation:</para>
22 <screen><userinput>./configure --prefix=/usr</userinput></screen>
24 <para>Compile the package:</para>
26 <screen><userinput>make</userinput></screen>
28 <para>This package has a test suite available which performs a number of
29 checks to ensure it will function correctly. It's worth noting that Gettext
30 does not play a critical role in the overall operation of an LFS system. In
31 addition, the Gettext test suite runs for quite a long period of time.
32 Accordingly, the running of the test suite here is not crucial. Should you
33 choose to run the Gettext test suite, the following command will do
34 so:</para>
36 <screen><userinput>make check</userinput></screen>
38 <para>And install the package:</para>
40 <screen><userinput>make install</userinput></screen>
42 </sect2>
44 &aa-gettext-shortdesc;
45 &aa-gettext-desc;
47 </sect1>