[Clfs-commits] commit: r4316 - /branches/clfs-sysroot/BOOK/final-system/common/gettext.xml

svn at cross-lfs.org svn at cross-lfs.org
Sun Jan 4 14:01:06 PST 2009


Author: jciccone
Date: Sun Jan  4 22:01:05 2009
New Revision: 4316

Log:
Fix gettext compilation issues.

Modified:
    branches/clfs-sysroot/BOOK/final-system/common/gettext.xml

Modified: branches/clfs-sysroot/BOOK/final-system/common/gettext.xml
==============================================================================
--- branches/clfs-sysroot/BOOK/final-system/common/gettext.xml (original)
+++ branches/clfs-sysroot/BOOK/final-system/common/gettext.xml Sun Jan  4 22:01:05 2009
@@ -27,10 +27,18 @@
   <sect2 role="installation">
     <title>Installation of Gettext</title>
 
+    <para os="c1">When Cross Compiling the configure script does not
+    run a select few tests, Set the values manually:</para>
+
+<screen os="c2"><userinput>echo "am_cv_func_iconv_works=yes" > config.cache
+echo "gl_cv_func_wcwidth_works=yes" >> config.cache
+echo "gt_cv_func_printf_posix=yes" >> config.cache
+echo "gt_cv_int_divbyzero_sigfpe=yes" >> config.cache</userinput></screen>
+
     <para os="a">Prepare Gettext for compilation:</para>
 
 <screen os="b"><userinput>./configure --build=${CLFS_HOST} --host=${CLFS_TARGET} \
-    --prefix=/usr</userinput></screen>
+    --prefix=/usr --cache-file=config.cache</userinput></screen>
 
     <para os="c">Compile the package:</para>
 




More information about the Clfs-commits mailing list