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

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

r788@server (orig r786): jim | 2005-12-01 12:07:35 -0800

r851@server: jim | 2005-12-01 12:07:08 -0800
Text updates from G. Moko. Thank You


  • 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.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. So we fix it here:</para>
27
28<screen os="b"><userinput>echo "am_cv_func_working_getline=yes" &gt;&gt; config.cache</userinput></screen>
29
30 <para os="c">Prepare Gettext for compilation:</para>
31
32<screen os="d"><userinput>./configure --prefix=/tools \
33 --host=${LFS_TARGET} --disable-libasprintf \
34 --without-csharp --cache-file=config.cache</userinput></screen>
35
36 <variablelist os="e">
37 <title>The meaning of the configure options:</title>
38
39 <varlistentry os="e1">
40 <term><parameter>--disable-libasprintf</parameter></term>
41 <listitem>
42 <para>This flag tells Gettext not to build the <filename
43 class="libraryfile">asprintf</filename> library. Because
44 nothing in this chapter or the next requires this library
45 and Gettext gets rebuilt later, exclude it to save time
46 and space.</para>
47 </listitem>
48 </varlistentry>
49
50 <varlistentry os="e2">
51 <term><parameter>--without-csharp</parameter></term>
52 <listitem>
53 <para>This ensures that Gettext does not build support for the C#
54 compiler which may be present on the host but will not be available
55 when building the final system.</para>
56 </listitem>
57 </varlistentry>
58
59 </variablelist>
60
61 <para os="f">Compile the package:</para>
62
63<screen os="g"><userinput>make</userinput></screen>
64
65 <para os="h">Install the package:</para>
66
67<screen os="i"><userinput>make install</userinput></screen>
68
69 </sect2>
70
71 <sect2 role="content">
72 <title/>
73
74 <para>Details on this package are located in <xref
75 linkend="contents-gettext" role="."/></para>
76
77 </sect2>
78
79</sect1>
Note: See TracBrowser for help on using the repository browser.