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

Last change on this file since aaec9ca9 was f32f537, 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
RevLine 
[bf8c11f]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
[3b9c9f7]18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
19 href="../../final-system/common/gettext.xml"
20 xpointer="xpointer(//*[@role='package'])"/>
[bf8c11f]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
[175ff828]30 <para os="c">Prepare Gettext for compilation:</para>
[bf8c11f]31
[175ff828]32<screen os="d"><userinput>./configure --prefix=/tools \
[bf8c11f]33 --host=${LFS_TARGET} --disable-libasprintf \
34 --without-csharp --cache-file=config.cache</userinput></screen>
35
[175ff828]36 <variablelist os="e">
[bf8c11f]37 <title>The meaning of the configure options:</title>
38
[175ff828]39 <varlistentry os="e1">
[bf8c11f]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
[f32f537]44 nothing in this chapter or the next requires this library
45 and Gettext gets rebuilt later, exclude it to save time
[bf8c11f]46 and space.</para>
47 </listitem>
48 </varlistentry>
49
[175ff828]50 <varlistentry os="e2">
[bf8c11f]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
[175ff828]61 <para os="f">Compile the package:</para>
[bf8c11f]62
[175ff828]63<screen os="g"><userinput>make</userinput></screen>
[bf8c11f]64
[175ff828]65 <para os="h">Install the package:</para>
[bf8c11f]66
[175ff828]67<screen os="i"><userinput>make install</userinput></screen>
[bf8c11f]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.