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

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since f59ed2c was 6d4c909, checked in by Jim Gifford <clfs@…>, 19 years ago

r974@server (orig r972): jim | 2005-12-28 21:29:16 -0800

r1216@server: jim | 2005-12-28 21:26:31 -0800
Text Updates from Chris Staub. Thank you


  • Property mode set to 100644
File size: 1.9 KB
RevLine 
[3f8be484]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
[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
25 <para os="a">Gettext has an issue with cross-compiling where it
[6d4c909]26 can't find getline. Fix it here:</para>
[3f8be484]27
[351f3e1f]28<screen os="b"><userinput>cd gettext-tools
29echo "am_cv_func_working_getline=yes" &gt;&gt; config.cache</userinput></screen>
[3f8be484]30
[1bc8e5f]31 <para os="c">Prepare Gettext for compilation:</para>
[3f8be484]32
[351f3e1f]33<screen os="d"><userinput>./configure --prefix=/tools \
[a32721a]34 --host=${LFS_TARGET} --disable-shared \
[351f3e1f]35 --cache-file=config.cache</userinput></screen>
[3f8be484]36
[1bc8e5f]37 <variablelist os="e">
[3f8be484]38 <title>The meaning of the configure options:</title>
39
[1bc8e5f]40 <varlistentry os="e1">
[a32721a]41 <term><parameter>--disable-shared</parameter></term>
[3f8be484]42 <listitem>
[a32721a]43 <para>This tells Gettext not to create a shared library.</para>
[3f8be484]44 </listitem>
45 </varlistentry>
46
47 </variablelist>
48
[1bc8e5f]49 <para os="f">Compile the package:</para>
[3f8be484]50
[a32721a]51<screen os="g"><userinput>make -C lib
52make -C src msgfmt</userinput></screen>
[3f8be484]53
[1bc8e5f]54 <para os="h">Install the package:</para>
[3f8be484]55
[a32721a]56<screen os="i"><userinput>cp -v src/msgfmt /tools/bin</userinput></screen>
[3f8be484]57
58 </sect2>
59
60 <sect2 role="content">
61 <title/>
62
63 <para>Details on this package are located in <xref
64 linkend="contents-gettext" role="."/></para>
65
66 </sect2>
67
68</sect1>
Note: See TracBrowser for help on using the repository browser.