source: temp-system/common/gettext.xml@ a199d3b

Last change on this file since a199d3b was 3b9c9f7, checked in by Jim Gifford <clfs@…>, 19 years ago

r657@server (orig r655): manuel | 2005-11-08 13:07:24 -0800
Preparations to remove SBUs and DUs. Chapter temp-system, round 1.

  • 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 <!ENTITY % patches-entities SYSTEM "../../patches.ent">
6 %general-entities;
7 %patches-entities;
8]>
9
10<sect1 id="ch-temp-system-gettext" role="wrap">
11 <?dbhtml filename="gettext.html"?>
12
13 <title>Gettext-&gettext-version;</title>
14
15 <indexterm zone="ch-temp-system-gettext">
16 <primary sortas="a-Gettext">Gettext</primary>
17 <secondary>temporary system</secondary>
18 </indexterm>
19
20 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
21 href="../../final-system/common/gettext.xml"
22 xpointer="xpointer(//*[@role='package'])"/>
23
24 <sect2 role="installation">
25 <title>Installation of Gettext</title>
26
27 <para os="a">Gettext has an issue with cross-compiling where it
28 can't find getline. So we fix it here:</para>
29
30<screen os="b"><userinput>echo "am_cv_func_working_getline=yes" &gt;&gt; config.cache</userinput></screen>
31
32 <para>Prepare Gettext for compilation:</para>
33
34<screen><userinput>./configure --prefix=/tools \
35 --host=${LFS_TARGET} --disable-libasprintf \
36 --without-csharp --cache-file=config.cache</userinput></screen>
37
38 <variablelist os="c">
39 <title>The meaning of the configure options:</title>
40
41 <varlistentry os="c1">
42 <term><parameter>--disable-libasprintf</parameter></term>
43 <listitem>
44 <para>This flag tells Gettext not to build the <filename
45 class="libraryfile">asprintf</filename> library. Because
46 nothing in this chapter or the next requires this library a
47 nd Gettext gets rebuilt later, exclude it to save time
48 and space.</para>
49 </listitem>
50 </varlistentry>
51
52 <varlistentry os="c2">
53 <term><parameter>--without-csharp</parameter></term>
54 <listitem>
55 <para>This ensures that Gettext does not build support for the C#
56 compiler which may be present on the host but will not be available
57 when building the final system.</para>
58 </listitem>
59 </varlistentry>
60
61 </variablelist>
62
63 <para>Compile the package:</para>
64
65<screen><userinput>make</userinput></screen>
66
67 <para>Install the package:</para>
68
69<screen><userinput>make install</userinput></screen>
70
71 </sect2>
72
73 <sect2 role="content">
74 <title/>
75
76 <para>Details on this package are located in <xref
77 linkend="contents-gettext" role="."/></para>
78
79 </sect2>
80
81</sect1>
Note: See TracBrowser for help on using the repository browser.