source: BOOK/temp-system/common/gettext.xml@ d5d6614

systemd
Last change on this file since d5d6614 was 7cd7f99, checked in by Chris Staub <chris@…>, 9 years ago

Put one configure option per line

  • Property mode set to 100644
File size: 2.5 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-temp-system-gettext" role="wrap">
9 <?dbhtml filename="gettext.html"?>
10
11 <title>Gettext-&gettext-version;</title>
12
13 <indexterm zone="ch-temp-system-gettext">
14 <primary sortas="a-Gettext">Gettext</primary>
15 <secondary>temporary system</secondary>
16 </indexterm>
17
18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
19 href="../../final-system/common/gettext.xml"
20 xpointer="xpointer(//*[@role='package'])"/>
21
22 <sect2 role="installation">
23 <title>Installation of Gettext</title>
24
25 <para os="i">Many packages' installation procedures use the
26 <command>msgfmt</command> program for i18n support, so we will compile
27 and install it into <filename class="directory">/tools</filename>.
28 Attr also needs <command>msgmerge</command> and <command>xgettext</command>,
29 so we will install those as well.</para>
30
31 <para os="a">Only the programs in the
32 <filename class="directory">gettext-tools</filename> directory need to be
33 installed for the temp-system:</para>
34
35<screen os="b"><userinput>cd gettext-tools</userinput></screen>
36
37 <para os="c">Prepare Gettext for compilation:</para>
38
39<screen os="d"><userinput>EMACS="no" \
40./configure \
41 --prefix=/tools \
42 --build=${CLFS_HOST} \
43 --host=${CLFS_TARGET} \
44 --disable-shared</userinput></screen>
45
46 <variablelist os="e">
47 <title>The meaning of the new configure options:</title>
48
49 <varlistentry>
50 <term><parameter>EMACS="no"</parameter></term>
51 <listitem>
52 <para>Prevents the configure script from installing Emacs Lisp files
53 as the test is known to hang on some hosts.</para>
54 </listitem>
55 </varlistentry>
56
57 </variablelist>
58
59 <para os="f">Compile the required programs and support library:</para>
60
61<screen os="g"><userinput>make -C gnulib-lib
62make -C intl pluralx.c
63make -C src msgfmt msgmerge xgettext</userinput></screen>
64
65 <para os="h">Install the <command>msgfmt</command>,
66 <command>msgmerge</command> and <command>xgettext</command> binaries:</para>
67
68<screen os="i"><userinput>cp -v src/{msgfmt,msgmerge,xgettext} /tools/bin</userinput></screen>
69
70 </sect2>
71
72 <sect2 role="content">
73 <title/>
74
75 <para>Details on this package are located in <xref
76 linkend="contents-gettext" role="."/></para>
77
78 </sect2>
79
80</sect1>
Note: See TracBrowser for help on using the repository browser.