2004-05-03 11:59:46 +01:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2007-03-21 18:42:58 +00:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
2004-05-03 11:59:46 +01:00
|
|
|
<!ENTITY % general-entities SYSTEM "../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
]>
|
2006-01-20 21:02:23 +00:00
|
|
|
|
2004-05-16 01:06:08 +01:00
|
|
|
<sect1 id="ch-tools-gettext" role="wrap">
|
2006-01-20 21:02:23 +00:00
|
|
|
<?dbhtml filename="gettext.html"?>
|
|
|
|
|
2007-09-07 20:16:43 +01:00
|
|
|
<sect1info condition="script">
|
|
|
|
<productname>gettext</productname>
|
|
|
|
<productnumber>&gettext-version;</productnumber>
|
|
|
|
<address>&gettext-url;</address>
|
|
|
|
</sect1info>
|
|
|
|
|
2006-01-20 21:02:23 +00:00
|
|
|
<title>Gettext-&gettext-version;</title>
|
|
|
|
|
|
|
|
<indexterm zone="ch-tools-gettext">
|
|
|
|
<primary sortas="a-Gettext">Gettext</primary>
|
|
|
|
<secondary>tools</secondary>
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect2 role="package">
|
|
|
|
<title/>
|
2003-05-02 19:20:20 +01:00
|
|
|
|
2010-04-21 21:16:28 +01:00
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
2006-01-20 21:02:23 +00:00
|
|
|
href="../chapter06/gettext.xml"
|
|
|
|
xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
|
2005-02-19 22:16:42 +00:00
|
|
|
|
2006-01-20 21:02:23 +00:00
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>&buildtime;</segtitle>
|
|
|
|
<segtitle>&diskspace;</segtitle>
|
2004-05-03 11:59:46 +01:00
|
|
|
|
2006-01-20 21:02:23 +00:00
|
|
|
<seglistitem>
|
2006-05-14 21:16:56 +01:00
|
|
|
<seg>&gettext-ch5-sbu;</seg>
|
|
|
|
<seg>&gettext-ch5-du;</seg>
|
2006-01-20 21:02:23 +00:00
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
2004-05-03 11:59:46 +01:00
|
|
|
|
2006-01-20 21:02:23 +00:00
|
|
|
</sect2>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
2006-01-20 21:02:23 +00:00
|
|
|
<sect2 role="installation">
|
|
|
|
<title>Installation of Gettext</title>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
2006-01-20 21:02:23 +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
|
|
|
|
2006-01-20 21:02:23 +00:00
|
|
|
<para>Prepare Gettext for compilation:</para>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
2007-09-18 22:11:00 +01:00
|
|
|
<screen><userinput remap="configure">cd gettext-tools
|
2005-11-15 00:53:24 +00:00
|
|
|
./configure --prefix=/tools --disable-shared</userinput></screen>
|
2004-05-03 22:28:58 +01:00
|
|
|
|
2006-01-20 21:02:23 +00:00
|
|
|
<variablelist>
|
2006-01-30 06:51:33 +00:00
|
|
|
<title>The meaning of the configure option:</title>
|
2005-02-19 22:16:42 +00:00
|
|
|
|
2006-01-20 21:02:23 +00:00
|
|
|
<varlistentry>
|
|
|
|
<term><parameter>--disable-shared</parameter></term>
|
|
|
|
<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>
|
|
|
|
</varlistentry>
|
2005-02-19 22:16:42 +00:00
|
|
|
|
2006-01-20 21:02:23 +00:00
|
|
|
</variablelist>
|
|
|
|
|
|
|
|
<para>Compile the package:</para>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
2007-09-18 22:11:00 +01:00
|
|
|
<screen><userinput remap="make">make -C gnulib-lib
|
2005-11-15 00:53:24 +00:00
|
|
|
make -C src msgfmt</userinput></screen>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
2006-01-20 21:02:23 +00:00
|
|
|
<para>As only one binary has been compiled, it is not possible to run the
|
2010-09-18 01:12:44 +01:00
|
|
|
test suite without compiling additional support libraries from the Gettext
|
|
|
|
package. It is therefore not recommended to attempt to run the test suite at
|
2006-01-20 21:02:23 +00:00
|
|
|
this stage.</para>
|
2005-12-07 20:46:14 +00:00
|
|
|
|
2006-01-20 21:02:23 +00:00
|
|
|
<para>Install the <command>msgfmt</command> binary:</para>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
2007-09-18 22:11:00 +01:00
|
|
|
<screen><userinput remap="install">cp -v src/msgfmt /tools/bin</userinput></screen>
|
2003-11-01 22:31:50 +00:00
|
|
|
|
2006-01-20 21:02:23 +00:00
|
|
|
</sect2>
|
2003-05-02 19:20:20 +01:00
|
|
|
|
2006-01-20 21:02:23 +00:00
|
|
|
<sect2 role="content">
|
|
|
|
<title/>
|
2005-02-19 22:16:42 +00:00
|
|
|
|
2006-01-20 21:02:23 +00:00
|
|
|
<para>Details on this package are located in
|
|
|
|
<xref linkend="contents-gettext" role="."/></para>
|
2005-02-19 22:16:42 +00:00
|
|
|
|
2006-01-20 21:02:23 +00:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
</sect1>
|