- Timestamp:
- Sep 4, 2015, 6:34:22 PM (9 years ago)
- Branches:
- sysvinit
- Children:
- a89d3ee
- Parents:
- 924206c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/temp-system/common/gettext.xml
r924206c r23d7b98 23 23 <title>Installation of Gettext</title> 24 24 25 <para os=" i">Many packages' installation procedures use the25 <para os="a">Many packages' installation procedures use the 26 26 <command>msgfmt</command> program for i18n support, so we will compile 27 and install it into <filename class="directory">/tools</filename>.</para> 27 and install it into <filename class="directory">/tools</filename>. 28 Attr also needs <command>msgmerge</command> and <command>xgettext</command>, 29 so we will install those as well.</para> 28 30 29 <para os=" a">Only the programs in the31 <para os="b">Only the programs in the 30 32 <filename class="directory">gettext-tools</filename> directory need to be 31 33 installed for the temp-system:</para> 32 34 33 <screen os=" b"><userinput>cd gettext-tools</userinput></screen>35 <screen os="c"><userinput>cd gettext-tools</userinput></screen> 34 36 35 <para os=" c">Prepare Gettext for compilation:</para>37 <para os="d">Prepare Gettext for compilation:</para> 36 38 37 <screen os=" d"><userinput>EMACS="no" ./configure --prefix=/tools \39 <screen os="e"><userinput>EMACS="no" ./configure --prefix=/tools \ 38 40 --build=${CLFS_HOST} --host=${CLFS_TARGET} \ 39 41 --disable-shared --cache-file=config.cache</userinput></screen> 40 42 41 <para os="e">Compile the required program and support library:</para> 42 43 <screen os="f"><userinput>make -C gnulib-lib 44 make -C src msgfmt</userinput></screen> 45 46 <para os="g">Install the <command>msgfmt</command> binary:</para> 47 48 <screen os="h"><userinput>cp -v src/msgfmt /tools/bin</userinput></screen> 49 50 <variablelist os="i"> 43 <variablelist os="f"> 51 44 <title>The meaning of the configure option:</title> 52 45 … … 61 54 </variablelist> 62 55 63 <para os=" j">Compile the required programs and support library:</para>56 <para os="g">Compile the required programs and support library:</para> 64 57 65 <screen os=" k"><userinput>make -C gnulib-lib58 <screen os="h"><userinput>make -C gnulib-lib 66 59 make -C intl pluralx.c 67 60 make -C src msgfmt msgmerge xgettext</userinput></screen> 68 61 69 <para os=" l">Install the <command>msgfmt</command>,62 <para os="i">Install the <command>msgfmt</command>, 70 63 <command>msgmerge</command> and <command>xgettext</command> binaries:</para> 71 64 72 <screen os=" m"><userinput>cp -v src/{msgfmt,msgmerge,xgettext} /tools/bin</userinput></screen>65 <screen os="j"><userinput>cp -v src/{msgfmt,msgmerge,xgettext} /tools/bin</userinput></screen> 73 66 74 67 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.