2004-05-03 11:59:46 +01:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2005-01-30 18:06:48 +00:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
2004-05-03 11:59:46 +01:00
|
|
|
<!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
|
|
|
|
2005-02-19 22:16:42 +00:00
|
|
|
<indexterm zone="ch-tools-gettext">
|
|
|
|
<primary sortas="a-Gettext">Gettext</primary>
|
|
|
|
<secondary>tools</secondary></indexterm>
|
|
|
|
|
2004-05-16 01:06:08 +01:00
|
|
|
<sect2 role="package"><title/>
|
2005-02-19 22:16:42 +00:00
|
|
|
<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>
|
2005-06-14 10:24:59 +01:00
|
|
|
<seglistitem><seg>0.5 SBU</seg><seg>63.0 MB</seg></seglistitem>
|
2004-05-16 01:06:08 +01:00
|
|
|
</segmentedlist>
|
2004-05-03 11:59:46 +01:00
|
|
|
|
2005-02-19 22:16:42 +00:00
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../chapter06/gettext.xml" xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/>
|
|
|
|
|
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>
|
|
|
|
|
2005-11-18 20:12:15 +00:00
|
|
|
<para>For our temporary set of tools, we only need to build and install one binary from Gettext.</para>
|
2005-11-15 00:53:24 +00:00
|
|
|
|
2003-11-02 22:20:47 +00:00
|
|
|
<para>Prepare Gettext for compilation:</para>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
2005-11-15 00:53:24 +00:00
|
|
|
<screen><userinput>cd gettext-tools
|
|
|
|
./configure --prefix=/tools --disable-shared</userinput></screen>
|
2004-05-03 22:28:58 +01:00
|
|
|
|
2005-02-19 22:16:42 +00:00
|
|
|
<para>The meaning of the configure options:</para>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<varlistentry>
|
2005-11-15 00:53:24 +00:00
|
|
|
<term><parameter>--disable-shared</parameter></term>
|
2005-12-07 20:46:14 +00:00
|
|
|
<listitem><para>We do not need to install any of the shared gettext libraries at
|
|
|
|
this time, therefore there is no need to build them.</para></listitem>
|
2005-02-19 22:16:42 +00:00
|
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
|
2004-12-20 17:23:16 +00:00
|
|
|
<para>Compile the package:</para>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
2005-11-15 00:53:24 +00:00
|
|
|
<screen><userinput>make -C lib
|
|
|
|
make -C src msgfmt</userinput></screen>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
2005-12-07 20:46:14 +00:00
|
|
|
<para>As only one binary has been compiled, it is not possible to run the
|
|
|
|
testsuite without compiling additional support libraries from the Gettext
|
|
|
|
package. It is therefore not recommended to attempt to run the testsuite at
|
|
|
|
this stage.</para>
|
|
|
|
|
2005-11-16 12:14:32 +00:00
|
|
|
<para>Install the <command>msgfmt</command> binary:</para>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
2005-11-15 00:53:24 +00:00
|
|
|
<screen><userinput>cp -v src/msgfmt /tools/bin</userinput></screen>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
|
|
|
</sect2>
|
2003-05-02 19:20:20 +01:00
|
|
|
|
2005-02-19 22:16:42 +00:00
|
|
|
<sect2 role="content"><title/>
|
|
|
|
<para>Details on this package are located in <xref linkend="contents-gettext" role="."/></para>
|
|
|
|
</sect2>
|
|
|
|
|
2003-05-02 19:20:20 +01:00
|
|
|
</sect1>
|
2005-02-19 22:16:42 +00:00
|
|
|
|