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 | <sect2 role="package"> |
---|
20 | <title/> |
---|
21 | |
---|
22 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
23 | href="../common/gettext.xml" |
---|
24 | xpointer="xpointer(//*[@role='package']/para[1])"/> |
---|
25 | |
---|
26 | <segmentedlist> |
---|
27 | <segtitle>&buildtime;</segtitle> |
---|
28 | <segtitle>&diskspace;</segtitle> |
---|
29 | |
---|
30 | <seglistitem> |
---|
31 | <seg>Not checked yet</seg> |
---|
32 | <seg>Not checked yet</seg> |
---|
33 | </seglistitem> |
---|
34 | </segmentedlist> |
---|
35 | |
---|
36 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
37 | href="../common/gettext.xml" |
---|
38 | xpointer="xpointer(//*[@role='package']/segmentedlist[2])"/> |
---|
39 | |
---|
40 | </sect2> |
---|
41 | |
---|
42 | <sect2 role="installation"> |
---|
43 | <title>Installation of Gettext</title> |
---|
44 | |
---|
45 | <para os="a">Gettext includes its own version of Libtool which is broken |
---|
46 | for x86_64 (it tries to link statically linked archives compiled without |
---|
47 | -fPIC against shared objects) see (<ulink |
---|
48 | url="http://lists.gnu.org/archive/html/bug-libtool/2005-03/msg00070.html"/>). |
---|
49 | Use the following <command>sed</command> to skip certain tests so that |
---|
50 | the main language tests can be run.</para> |
---|
51 | |
---|
52 | <screen os="b"><userinput>sed -i -e '2iexit 77' autoconf-lib-link/tests/rpath-3*[ef]</userinput></screen> |
---|
53 | |
---|
54 | <para>Prepare Gettext for compilation:</para> |
---|
55 | |
---|
56 | <screen><userinput>./configure --prefix=/usr</userinput></screen> |
---|
57 | |
---|
58 | <para>Compile the package:</para> |
---|
59 | |
---|
60 | <screen><userinput>make</userinput></screen> |
---|
61 | |
---|
62 | <para>To test the results, issue: <userinput>make check</userinput>. |
---|
63 | This takes a very long time, around 7 SBUs.</para> |
---|
64 | |
---|
65 | <para>Install the package:</para> |
---|
66 | |
---|
67 | <screen><userinput>make install</userinput></screen> |
---|
68 | |
---|
69 | </sect2> |
---|
70 | |
---|
71 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
72 | href="../common/gettext.xml" |
---|
73 | xpointer="xpointer(id('contents-gettext'))"/> |
---|
74 | |
---|
75 | </sect1> |
---|