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