source: final-system/x86_64-64/gettext.xml@ 1e07384

Last change on this file since 1e07384 was 8d8b6cd, checked in by Ken Moffat <zarniwhoop@…>, 18 years ago

Fix the gettext -fPIC testsuite problem, now that the original fix no longer works.

  • Property mode set to 100644
File size: 2.3 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-system-gettext" role="wrap">
9 <?dbhtml filename="gettext.html"?>
10
11 <title>Gettext-&gettext-version;</title>
12
13 <indexterm zone="ch-system-gettext">
14 <primary sortas="a-Gettext">Gettext</primary>
15 </indexterm>
16
17 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
18 href="../common/gettext.xml"
19 xpointer="xpointer(//*[@role='package'])"/>
20
21 <sect2 role="installation">
22 <title>Installation of Gettext</title>
23
24 <para os="x1">Gettext fails to pass <literal>-fPIC</literal> to the testsuite
25 for its internal libtool. On x86_64 it is not possible to link statically
26 linked archives compiled without -fPIC against shared objects and the suite
27 stops without running the main body of the tests. Use the following
28 <command>sed</command> to add this into the <literal>TESTS_ENVIRONMENT</literal>
29 parameters:</para>
30
31<screen os="x2"><userinput>sed -i \
32 "s/CC='@CC@' CFLAGS='@CFLAGS@'/CC='@CC@' CFLAGS='@CFLAGS@ -fPIC'/" \
33 autoconf-lib-link/tests/Makefile.in</userinput></screen>
34
35 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
36 href="../common/gettext.xml"
37 xpointer="xpointer(//*[@os='a'])"/>
38
39 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
40 href="../common/gettext.xml"
41 xpointer="xpointer(//*[@os='b'])"/>
42
43 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
44 href="../common/gettext.xml"
45 xpointer="xpointer(//*[@os='c'])"/>
46
47 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
48 href="../common/gettext.xml"
49 xpointer="xpointer(//*[@os='d'])"/>
50
51 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
52 href="../common/gettext.xml"
53 xpointer="xpointer(//*[@os='e'])"/>
54
55 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
56 href="../common/gettext.xml"
57 xpointer="xpointer(//*[@os='f'])"/>
58
59 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
60 href="../common/gettext.xml"
61 xpointer="xpointer(//*[@os='g'])"/>
62
63 </sect2>
64
65 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
66 href="../common/gettext.xml"
67 xpointer="xpointer(id('contents-gettext'))"/>
68
69</sect1>
Note: See TracBrowser for help on using the repository browser.