Changeset f0fbe77 for BOOK/temp-system/common
- Timestamp:
- Sep 4, 2015, 6:22:16 PM (9 years ago)
- Branches:
- master, systemd
- Children:
- 47e1de9
- Parents:
- 00fa0bb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/temp-system/common/gettext.xml
r00fa0bb rf0fbe77 35 35 <screen os="b"><userinput>cd gettext-tools</userinput></screen> 36 36 37 <para os="t1">When cross-compiling, the Gettext38 <command>configure</command> script assumes we don't have a working wcwidth39 even when we do. The following will fix possible40 compilation errors because of this assumption:</para>41 42 <screen os="t2"><userinput>echo "gl_cv_func_wcwidth_works=yes" > config.cache</userinput></screen>43 44 37 <para os="c">Prepare Gettext for compilation:</para> 45 38 46 <screen os="d"><userinput> ./configure --prefix=/tools \39 <screen os="d"><userinput>EMACS="no" ./configure --prefix=/tools \ 47 40 --build=${CLFS_HOST} --host=${CLFS_TARGET} \ 48 41 --disable-shared --cache-file=config.cache</userinput></screen> 49 42 50 <para os="e">Compile the required programs and support library:</para> 43 <variablelist os="e"> 44 <title>The meaning of the configure option:</title> 51 45 52 <screen os="f"><userinput>make -C gnulib-lib 46 <varlistentry> 47 <term><parameter>EMACS="no"</parameter></term> 48 <listitem> 49 <para>This prevents the installation of the Emacs Lisp files 50 as the test is known to hang on some hosts.</para> 51 </listitem> 52 </varlistentry> 53 54 </variablelist> 55 56 <para os="f">Compile the required programs and support library:</para> 57 58 <screen os="g"><userinput>make -C gnulib-lib 59 make -C intl pluralx.c 53 60 make -C src msgfmt msgmerge xgettext</userinput></screen> 54 61 55 <para os=" g">Install the <command>msgfmt</command>,62 <para os="h">Install the <command>msgfmt</command>, 56 63 <command>msgmerge</command> and <command>xgettext</command> binaries:</para> 57 64 58 <screen os=" h"><userinput>cp -v src/{msgfmt,msgmerge,xgettext} /tools/bin</userinput></screen>65 <screen os="i"><userinput>cp -v src/{msgfmt,msgmerge,xgettext} /tools/bin</userinput></screen> 59 66 60 67 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.