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-system-gettext" role="wrap">
|
---|
11 | <?dbhtml filename="gettext.html"?>
|
---|
12 |
|
---|
13 | <title>Gettext-&gettext-version;</title>
|
---|
14 |
|
---|
15 | <indexterm zone="ch-system-gettext">
|
---|
16 | <primary sortas="a-Gettext">Gettext</primary>
|
---|
17 | </indexterm>
|
---|
18 |
|
---|
19 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
20 | href="../common/gettext.xml"
|
---|
21 | xpointer="xpointer(//*[@role='package'])"/>
|
---|
22 |
|
---|
23 | <sect2 role="installation">
|
---|
24 | <title>Installation of Gettext</title>
|
---|
25 |
|
---|
26 | <para os="a">Gettext includes its own version of Libtool which is broken
|
---|
27 | for x86_64 (it tries to link statically linked archives compiled without
|
---|
28 | -fPIC against shared objects) see (<ulink
|
---|
29 | url="http://lists.gnu.org/archive/html/bug-libtool/2005-03/msg00070.html"/>).
|
---|
30 | Use the following <command>sed</command> to skip certain tests so that
|
---|
31 | the main language tests can be run.</para>
|
---|
32 |
|
---|
33 | <screen os="b"><userinput>sed -i -e '2iexit 77' autoconf-lib-link/tests/rpath-3*[ef]</userinput></screen>
|
---|
34 |
|
---|
35 | <para>Prepare Gettext for compilation:</para>
|
---|
36 |
|
---|
37 | <screen><userinput>./configure --prefix=/usr</userinput></screen>
|
---|
38 |
|
---|
39 | <para>Compile the package:</para>
|
---|
40 |
|
---|
41 | <screen><userinput>make</userinput></screen>
|
---|
42 |
|
---|
43 | <para>To test the results, issue: <userinput>make check</userinput>.</para>
|
---|
44 |
|
---|
45 | <para>Install the package:</para>
|
---|
46 |
|
---|
47 | <screen><userinput>make install</userinput></screen>
|
---|
48 |
|
---|
49 | </sect2>
|
---|
50 |
|
---|
51 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
52 | href="../common/gettext.xml"
|
---|
53 | xpointer="xpointer(id('contents-gettext'))"/>
|
---|
54 |
|
---|
55 | </sect1>
|
---|