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

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 8a7ffaa was 9915fd89, checked in by Joe Ciccone <jciccone@…>, 17 years ago

Add a patch to the kernel that defines PAGE_SIZE for userspace for alpha.

  • Property mode set to 100644
File size: 2.3 KB
RevLine 
[3f8be484]1<?xml version="1.0" encoding="ISO-8859-1"?>
[aa18ac0]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[3f8be484]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
[d0c5f50]18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
19 href="../../final-system/common/gettext.xml"
20 xpointer="xpointer(//*[@role='package'])"/>
[3f8be484]21
22 <sect2 role="installation">
23 <title>Installation of Gettext</title>
24
[3fc19cd]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>
[3f8be484]28
[3fc19cd]29<screen os="b"><userinput>cd gettext-tools</userinput></screen>
[3f8be484]30
[9915fd89]31 <para os="t1">When cross-compiling the Gettext configure script assumes we
32 don't have a working wcwidth when we do. The following will fix possible
33 compilation errors because of this assumption:</para>
34
35<screen os="t2"><userinput>echo "gl_cv_func_wcwidth_works=yes" > config.cache</userinput></screen>
36
[1bc8e5f]37 <para os="c">Prepare Gettext for compilation:</para>
[3f8be484]38
[351f3e1f]39<screen os="d"><userinput>./configure --prefix=/tools \
[09c4c90]40 --build=${CLFS_HOST} --host=${CLFS_TARGET} \
[9915fd89]41 --disable-shared --cache-file=config.cache</userinput></screen>
[3f8be484]42
[1bc8e5f]43 <variablelist os="e">
[3f8be484]44 <title>The meaning of the configure options:</title>
45
[1bc8e5f]46 <varlistentry os="e1">
[a32721a]47 <term><parameter>--disable-shared</parameter></term>
[3f8be484]48 <listitem>
[a32721a]49 <para>This tells Gettext not to create a shared library.</para>
[3f8be484]50 </listitem>
51 </varlistentry>
52
53 </variablelist>
54
[24e3a57]55 <para os="f">Compile the package:</para>
[3f8be484]56
[63941d2]57<screen os="g"><userinput>make -C gnulib-lib
58make -C src msgfmt</userinput></screen>
[3f8be484]59
[63941d2]60 <para os="h">Install the <command>msgfmt</command> binary:</para>
[3f8be484]61
[f55549b]62<screen os="i"><userinput>cp -v src/msgfmt /tools/bin</userinput></screen>
[3f8be484]63
64 </sect2>
65
66 <sect2 role="content">
67 <title/>
68
69 <para>Details on this package are located in <xref
70 linkend="contents-gettext" role="."/></para>
71
72 </sect2>
73
74</sect1>
Note: See TracBrowser for help on using the repository browser.