source: chapter05/gettext.xml@ c2913ea

Last change on this file since c2913ea was 1375d26, checked in by Matthew Burgess <matthew@…>, 20 years ago
  • (chapter05/*.xml) RELAX NG validation fixes

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/LFS-RNG/BOOK@4385 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 2.5 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE section [
3 <!ENTITY % general-entities SYSTEM "../general.ent">
4 %general-entities;
5]>
6<section xmlns="http://docbook.org/docbook-ng"
7 xmlns:xi="http://www.w3.org/2003/XInclude"
8 xml:id="ch-tools-gettext" role="wrap">
9<title>Gettext-&gettext-version;</title>
10<?dbhtml filename="gettext.html"?>
11
12<indexterm zone="ch-tools-gettext">
13<primary sortas="a-Gettext">Gettext</primary>
14<secondary>tools</secondary></indexterm>
15
16<section role="package"><title/>
17<xi:include href="../chapter06/gettext.xml" xpointer="xpointer(/*[1]/*[3]/*[2])"/>
18
19<segmentedlist>
20<segtitle>&buildtime;</segtitle>
21<segtitle>&diskspace;</segtitle>
22<seglistitem><seg>0.5 SBU</seg><seg>55 MB</seg></seglistitem>
23</segmentedlist>
24
25<xi:include href="../chapter06/gettext.xml" xpointer="xpointer(/*[1]/*[3]/*[4])"/>
26
27</section>
28
29<section role="installation">
30<title>Installation of Gettext</title>
31
32<para>Prepare Gettext for compilation:</para>
33
34<screen><userinput>./configure --prefix=/tools --disable-libasprintf \
35 --disable-csharp</userinput></screen>
36
37<para>The meaning of the configure options:</para>
38
39<variablelist>
40<varlistentry>
41<term><parameter>--disable-libasprintf</parameter></term>
42<listitem><para>This flag tells
43Gettext that we don't want its asprintf library. Nothing in this chapter or the next
44requires this, and Gettext gets rebuilt later, so we exclude it to save
45time/space.</para></listitem>
46</varlistentry>
47
48<varlistentry>
49<term><parameter>--disable-csharp</parameter></term>
50<listitem><para>Gettext has a nasty
51habit of searching for a C# compiler on the host, and building bindings for it.
52We've already <quote>locked</quote> ourselves into the temporary tools though,
53which doesn't have a C# compiler.</para></listitem>
54</varlistentry>
55</variablelist>
56
57<para>Compile the programs:</para>
58
59<screen><userinput>make</userinput></screen>
60
61<para>(If you want to test the results, then issue: <userinput>make
62check</userinput>. This takes a very long time, around 7 SBUs. Moreover, the
63Gettext test suite is known to experience failures under certain host
64conditions -- for example when it finds a Java compiler on the host (but an
65experimental patch to disable Java is available from the LFS Patches
66project).)</para>
67
68<para>And install the package:</para>
69
70<screen><userinput>make install</userinput></screen>
71
72</section>
73
74<section role="content"><title/>
75<para>The details on this package are found in <xref linkend="contents-gettext"/>.</para>
76</section>
77
78</section>
Note: See TracBrowser for help on using the repository browser.