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

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 929aaed was 3f8be484, checked in by Jim Gifford <clfs@…>, 19 years ago

r627@server (orig r625): jim | 2005-10-31 12:59:34 -0800
Import of Cross-LFS Book

  • Property mode set to 100644
File size: 3.0 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 <!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 <sect2 role="package">
21 <title/>
22
23 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
24 href="../../final-system/common/gettext.xml"
25 xpointer="xpointer(//*[@role='package']/para[1])"/>
26
27 <segmentedlist>
28 <segtitle>&buildtime;</segtitle>
29 <segtitle>&diskspace;</segtitle>
30
31 <seglistitem>
32 <seg>Not checked yet</seg>
33 <seg>Not checked yet</seg>
34 </seglistitem>
35 </segmentedlist>
36
37 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
38 href="../../final-system/common/gettext.xml"
39 xpointer="xpointer(//*[@role='package']/segmentedlist[2])"/>
40
41 </sect2>
42
43 <sect2 role="installation">
44 <title>Installation of Gettext</title>
45
46 <para os="a">Gettext has an issue with cross-compiling where it
47 can't find getline. So we fix it here:</para>
48
49<screen os="b"><userinput>echo "am_cv_func_working_getline=yes" &gt;&gt; config.cache</userinput></screen>
50
51 <para>Prepare Gettext for compilation:</para>
52
53<screen><userinput>./configure --prefix=/tools \
54 --host=${LFS_TARGET} --disable-libasprintf \
55 --without-csharp --cache-file=config.cache</userinput></screen>
56
57 <variablelist os="c">
58 <title>The meaning of the configure options:</title>
59
60 <varlistentry os="c1">
61 <term><parameter>--disable-libasprintf</parameter></term>
62 <listitem>
63 <para>This flag tells Gettext not to build the <filename
64 class="libraryfile">asprintf</filename> library. Because
65 nothing in this chapter or the next requires this library a
66 nd Gettext gets rebuilt later, exclude it to save time
67 and space.</para>
68 </listitem>
69 </varlistentry>
70
71 <varlistentry os="c2">
72 <term><parameter>--without-csharp</parameter></term>
73 <listitem>
74 <para>This ensures that Gettext does not build support for the C#
75 compiler which may be present on the host but will not be available
76 when building the final system.</para>
77 </listitem>
78 </varlistentry>
79
80 </variablelist>
81
82 <para>Compile the package:</para>
83
84<screen><userinput>make</userinput></screen>
85
86 <para>Install the package:</para>
87
88<screen><userinput>make install</userinput></screen>
89
90 </sect2>
91
92 <sect2 role="content">
93 <title/>
94
95 <para>Details on this package are located in <xref
96 linkend="contents-gettext" role="."/></para>
97
98 </sect2>
99
100</sect1>
Note: See TracBrowser for help on using the repository browser.