source: temp-system/common/gettext.xml@ 231f24b6

Last change on this file since 231f24b6 was 9cb6b64, checked in by Jim Gifford <clfs@…>, 18 years ago

r4209@server: jim | 2006-07-01 12:46:18 -0700
Updated variables -

LFS_TARGET is now CLFS_TARGET
LFS_HOST is now CLFS_HOST
LFS_TARGET32 is now CLFS_TARGET32
LFS is now CLFS
/mnt/lfs is now /mnt/clfs


  • 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.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/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/2003/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">Gettext has an issue with cross-compiling where it
26 can't find getline. Fix it here:</para>
27
28<screen os="b"><userinput>cd gettext-tools
29echo "am_cv_func_working_getline=yes" &gt;&gt; config.cache</userinput></screen>
30
31 <para os="c">Prepare Gettext for compilation:</para>
32
33<screen os="d"><userinput>./configure --prefix=/tools \
34 --build=${CLFS_HOST} --host=${CLFS_TARGET} \
35 --disable-shared --cache-file=config.cache</userinput></screen>
36
37 <variablelist os="e">
38 <title>The meaning of the configure options:</title>
39
40 <varlistentry os="e1">
41 <term><parameter>--disable-shared</parameter></term>
42 <listitem>
43 <para>This tells Gettext not to create a shared library.</para>
44 </listitem>
45 </varlistentry>
46
47 </variablelist>
48
49 <para os="f">Only one program in the Gettext package needs to be
50 built:</para>
51
52<screen os="g"><userinput>make -C lib
53make -C src msgfmt</userinput></screen>
54
55 <para os="h">Install the <command>msgfmt</command> binary:</para>
56
57<screen os="i"><userinput>cp -v src/msgfmt /tools/bin</userinput></screen>
58
59 </sect2>
60
61 <sect2 role="content">
62 <title/>
63
64 <para>Details on this package are located in <xref
65 linkend="contents-gettext" role="."/></para>
66
67 </sect2>
68
69</sect1>
Note: See TracBrowser for help on using the repository browser.