aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/gettext.xml
blob: e8ae88ecab920361dc786cb1f087fe39f063d8e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<sect1 id="ch06-gettext" xreflabel="Gettext">
<title>Installing Gettext-&gettext-version;</title>
<?dbhtml filename="gettext.html" dir="chapter06"?>

<para>The Gettext package contains utilities for internationalization and
localization. These allow programs to be compiled with Native Language Support
(NLS), enabling them to output messages in the user's native language.</para>

<screen>Estimated build time:           &gettext-time;
Estimated required disk space:  &gettext-compsize;</screen>

&aa-gettext-down;
&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=/usr</userinput></screen>

<para>Compile the package:</para>

<screen><userinput>make</userinput></screen>

<para>This package has a test suite available which performs a number of
checks to ensure it will function correctly. It's worth noting that Gettext
does not play a critical role in the overall operation of an LFS system. In
addition, the Gettext test suite runs for quite a long period of time.
Accordingly, the running of the test suite here is not crucial. Should you
choose to run the Gettext test suite, 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>

&aa-gettext-shortdesc;
&aa-gettext-desc;

</sect1>