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

clfs-3.0.0-sysvinitsysvinit
Last change on this file since bff7a17 was bff7a17, checked in by Chris Staub <chris@…>, 9 years ago

Only need msgfmt for sysvinit system

  • Property mode set to 100644
File size: 2.0 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="a">Only the programs in the
26    <filename class="directory">gettext-tools</filename> directory need to be
27    installed for the temp-system:</para>
28
29<screen os="b"><userinput>cd gettext-tools</userinput></screen>
30
31    <para os="t1">When cross-compiling, the Gettext
32    <command>configure</command> script assumes we don't have a working wcwidth
33    even when when we do. The following will fix possible
34    compilation errors because of this assumption:</para>
35
36<screen os="t2"><userinput>echo "gl_cv_func_wcwidth_works=yes" &gt; config.cache</userinput></screen>
37
38    <para os="c">Prepare Gettext for compilation:</para>
39
40<screen os="d"><userinput>./configure --prefix=/tools \
41    --build=${CLFS_HOST} --host=${CLFS_TARGET} \
42    --disable-shared --cache-file=config.cache</userinput></screen>
43
44    <para os="e">Compile the required program and support library:</para>
45
46<screen os="f"><userinput>make -C gnulib-lib
47make -C src msgfmt</userinput></screen>
48
49    <para os="g">Install the <command>msgfmt</command> binary:</para>
50
51<screen os="h"><userinput>cp -v src/msgfmt /tools/bin</userinput></screen>
52
53  </sect2>
54
55  <sect2 role="content">
56    <title/>
57
58    <para>Details on this package are located in <xref
59    linkend="contents-gettext" role="."/></para>
60
61  </sect2>
62
63</sect1>
Note: See TracBrowser for help on using the repository browser.