%general-entities; ]> gettext &gettext-version;
&gettext-url;
Gettext-&gettext-version; Gettext tools <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="../chapter06/gettext.xml" xpointer="xpointer(/sect1/sect2[1]/para[1])"/> <segmentedlist> <segtitle>&buildtime;</segtitle> <segtitle>&diskspace;</segtitle> <seglistitem> <seg>&gettext-ch5-sbu;</seg> <seg>&gettext-ch5-du;</seg> </seglistitem> </segmentedlist> </sect2> <sect2 role="installation"> <title>安装 Gettext For our temporary set of tools, we only need to build and install three programs from Gettext. 准备编译 Gettext: cd gettext-tools EMACS="no" ./configure --prefix=/tools --disable-shared The meaning of the configure option: EMACS="no" This prevents the configure script from determining where to install Emacs Lisp files as the test is known to hang on some hosts. --disable-shared We do not need to install any of the shared Gettext libraries at this time, therefore there is no need to build them. 编译该软件包: make -C gnulib-lib make -C intl pluralx.c make -C src msgfmt make -C src msgmerge make -C src xgettext As only three programs have been compiled, it is not possible to run the test suite without compiling additional support libraries from the Gettext package. It is therefore not recommended to attempt to run the test suite at this stage. Install the msgfmt, msgmerge and xgettext programs: cp -v src/{msgfmt,msgmerge,xgettext} /tools/bin <para>该软件包的详细信息可以在 <xref linkend="contents-gettext"/> 中找到。</para> </sect2> </sect1>