1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3CR2//EN" "http://www.docbook.org/xml/4.3CR2/docbookx.dtd" [
3 <!ENTITY % gettext-entities SYSTEM "../ent/gettext.ent">
6 <sect1 id="ch05-gettext">
7 <title>Installing Gettext-&gettext-version;</title>
8 <?dbhtml filename="gettext.html"?>
10 <screen>Estimated build time: 7.2 SBU
11 Estimated required disk space: 55 MB</screen>
13 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../appendixa/gettext-contents.xml"/>
16 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../appendixa/gettext-deps.xml"/>
21 <title>Installation of Gettext</title>
23 <para>Prepare Gettext for compilation:</para>
25 <screen><userinput>./configure --prefix=/tools</userinput></screen>
27 <para>Compile the programs:</para>
29 <screen><userinput>make</userinput></screen>
31 <para>This package has a test suite available which can perform a number of
32 checks to ensure it built correctly. However, the Gettext test suite here in
33 Chapter 5 is known to experience failures under certain host conditions -- for
34 example, if it finds a Java compiler on the host (Note: an experimental patch
35 to disable Java is available from the patches project). The Gettext test suite
36 takes a very long time to run and is not considered critical. Therefore,
37 we don't recommend running it here. Should you choose to run it, the following
38 command will do so:</para>
40 <screen><userinput>make check</userinput></screen>
42 <para>And install the package:</para>
44 <screen><userinput>make install</userinput></screen>