2004-05-03 11:59:46 +01:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
|
|
|
<!ENTITY % general-entities SYSTEM "../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
]>
|
2004-05-16 01:06:08 +01:00
|
|
|
<sect1 id="ch-tools-gettext" role="wrap">
|
2004-05-03 11:59:46 +01:00
|
|
|
<title>Gettext-&gettext-version;</title>
|
|
|
|
<?dbhtml filename="gettext.html"?>
|
2003-05-02 19:20:20 +01:00
|
|
|
|
2004-05-03 11:59:46 +01:00
|
|
|
<indexterm zone="ch-tools-gettext">
|
|
|
|
<primary sortas="a-Gettext">Gettext</primary>
|
|
|
|
<secondary>tools</secondary></indexterm>
|
2003-05-02 19:20:20 +01:00
|
|
|
|
2004-05-16 01:06:08 +01:00
|
|
|
<sect2 role="package"><title/>
|
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/gettext.xml" xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
|
2004-05-03 11:59:46 +01:00
|
|
|
|
2004-05-16 01:06:08 +01:00
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>&buildtime;</segtitle>
|
|
|
|
<segtitle>&diskspace;</segtitle>
|
|
|
|
<seglistitem><seg>0.5 SBU</seg><seg>55 MB</seg></seglistitem>
|
|
|
|
</segmentedlist>
|
2004-05-03 11:59:46 +01:00
|
|
|
|
2004-05-16 01:06:08 +01:00
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/gettext.xml" xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
2004-05-16 01:06:08 +01:00
|
|
|
</sect2>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
2004-05-16 01:06:08 +01:00
|
|
|
<sect2 role="installation">
|
2003-11-01 22:31:50 +00:00
|
|
|
<title>Installation of Gettext</title>
|
|
|
|
|
2003-11-02 22:20:47 +00:00
|
|
|
<para>Prepare Gettext for compilation:</para>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
2004-05-03 22:28:58 +01:00
|
|
|
<screen><userinput>./configure --prefix=/tools --disable-libasprintf \
|
|
|
|
--disable-csharp</userinput></screen>
|
|
|
|
|
2004-05-16 01:06:08 +01:00
|
|
|
<para>The meaning of the configure options:</para>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<varlistentry>
|
2004-05-30 14:41:04 +01:00
|
|
|
<term><parameter>--disable-libasprintf</parameter></term>
|
2004-05-16 01:06:08 +01:00
|
|
|
<listitem><para>This flag tells
|
2004-05-30 14:41:04 +01:00
|
|
|
Gettext that we don't want its asprintf library. Nothing in this chapter or the next
|
|
|
|
requires this, and Gettext gets rebuilt later, so we exclude it to save
|
2004-05-03 22:28:58 +01:00
|
|
|
time/space.</para></listitem>
|
2004-05-16 01:06:08 +01:00
|
|
|
</varlistentry>
|
2004-05-03 22:28:58 +01:00
|
|
|
|
2004-05-16 01:06:08 +01:00
|
|
|
<varlistentry>
|
2004-05-30 14:41:04 +01:00
|
|
|
<term><parameter>--disable-csharp</parameter></term>
|
2004-05-16 01:06:08 +01:00
|
|
|
<listitem><para>Gettext has a nasty
|
2004-05-03 22:28:58 +01:00
|
|
|
habit of searching for a C# compiler on the host, and building bindings for it.
|
|
|
|
We've already <quote>locked</quote> ourselves into the temporary tools though,
|
|
|
|
which doesn't have a C# compiler.</para></listitem>
|
2004-05-16 01:06:08 +01:00
|
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
|
|
|
<para>Compile the programs:</para>
|
|
|
|
|
|
|
|
<screen><userinput>make</userinput></screen>
|
|
|
|
|
2004-02-11 22:02:10 +00:00
|
|
|
<para>(If you insist on testing the results, then issue: <userinput>make
|
2004-02-14 14:53:12 +00:00
|
|
|
check</userinput>. This takes a very long time, around 7 SBUs. Moreover, the
|
2004-02-11 22:02:10 +00:00
|
|
|
Gettext test suite is known to experience failures under certain host
|
|
|
|
conditions -- for example when it finds a Java compiler on the host (but an
|
|
|
|
experimental patch to disable Java is available from the LFS Patches
|
|
|
|
project).)</para>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
|
|
|
<para>And install the package:</para>
|
|
|
|
|
|
|
|
<screen><userinput>make install</userinput></screen>
|
|
|
|
|
|
|
|
</sect2>
|
2003-05-02 19:20:20 +01:00
|
|
|
|
2004-05-16 01:06:08 +01:00
|
|
|
<sect2 role="content"><title/>
|
2004-01-12 23:23:50 +00:00
|
|
|
<para>The details on this package are found in <xref linkend="contents-gettext"/>.</para>
|
2004-05-08 15:30:32 +01:00
|
|
|
</sect2>
|
2004-01-12 23:23:50 +00:00
|
|
|
|
2003-05-02 19:20:20 +01:00
|
|
|
</sect1>
|