- Timestamp:
- 03/31/2021 10:41:35 AM (3 years ago)
- Branches:
- ml-11.0, multilib
- Children:
- e9d172b
- Parents:
- f5ae110a
- git-author:
- Thomas Trepl <thomas@…> (05/20/2019 06:04:35 AM)
- git-committer:
- Xℹ Ruoyao <xry111@…> (03/31/2021 10:41:35 AM)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter05/gettext.xml
rf5ae110a r8a67f19 44 44 <title>Installation of Gettext</title> 45 45 46 <para>For our temporary set of tools, we only need to build andinstall46 <para>For our temporary set of tools, we only need to install 47 47 three programs from Gettext.</para> 48 48 49 49 <para>Prepare Gettext for compilation:</para> 50 50 51 <screen><userinput remap="configure">cd gettext-tools 52 EMACS="no" ./configure --prefix=/tools --disable-shared</userinput></screen> 51 <screen><userinput remap="configure">./configure --disable-shared</userinput></screen> 53 52 54 53 <variablelist> 55 54 <title>The meaning of the configure option:</title> 56 55 <!-- 57 56 <varlistentry> 58 57 <term><parameter>EMACS="no"</parameter></term> … … 63 62 </listitem> 64 63 </varlistentry> 65 64 --> 66 65 <varlistentry> 67 66 <term><parameter>--disable-shared</parameter></term> … … 76 75 <para>Compile the package:</para> 77 76 78 <screen><userinput remap="make">make -C gnulib-lib 79 make -C intl pluralx.c 80 make -C src msgfmt 81 make -C src msgmerge 82 make -C src xgettext</userinput></screen> 77 <screen><userinput remap="make">make</userinput></screen> 83 78 84 <para>As only three programs have been compiled, it is not possible to run the 85 test suite without compiling additional support libraries from the Gettext 86 package. It is therefore not recommended to attempt to run the test suite at 87 this stage.</para> 79 <para> 80 Due to the limited environment, running the test suite at this stage 81 is not recommended.</para> 88 82 89 83 <para>Install the <command>msgfmt</command>, <command>msgmerge</command> and 90 84 <command>xgettext</command> programs:</para> 91 85 92 <screen><userinput remap="install">cp -v src/{msgfmt,msgmerge,xgettext} /tools/bin</userinput></screen>86 <screen><userinput remap="install">cp -v gettext-tools/src/{msgfmt,msgmerge,xgettext} /tools/bin</userinput></screen> 93 87 94 88 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.