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

svn at cross-lfs.org svn at cross-lfs.org
Thu Mar 19 19:02:50 PDT 2009


Author: jciccone
Date: Fri Mar 20 02:02:50 2009
New Revision: 4899

Log:
Fix Tar Compilation.

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

Modified: branches/clfs-sysroot/BOOK/final-system/common/tar.xml
==============================================================================
--- branches/clfs-sysroot/BOOK/final-system/common/tar.xml (original)
+++ branches/clfs-sysroot/BOOK/final-system/common/tar.xml Fri Mar 20 02:02:50 2009
@@ -33,10 +33,25 @@
 
 <screen os="p4"><userinput>patch -Np1 -i ../&tar-new_compressors-patch;</userinput></screen>
 
+    <para os="a">Configure can not properly determine the results of a few
+    tests. Set them manually:</para>
+
+<screen os="b"><userinput>cat > config.cache << EOF
+gl_cv_func_btowc_eof=yes
+ac_cv_func_malloc_0_nonnull=yes
+ac_cv_func_realloc_0_nonnull=yes
+gl_cv_func_mbrtowc_incomplete_state=yes
+gl_cv_func_mbrtowc_nul_retval=yes
+gl_cv_func_mbrtowc_null_arg=yes
+gl_cv_func_mbrtowc_retval=yes
+gl_cv_func_wcrtomb_retval=yes
+EOF</userinput></screen>
+
     <para os="a">Prepare Tar for compilation:</para>
 
 <screen os="b"><userinput>./configure --build=${CLFS_HOST} --host=${CLFS_TARGET} \
-    --prefix=/usr --bindir=/bin --libexecdir=/usr/sbin</userinput></screen>
+    --prefix=/usr --bindir=/bin --libexecdir=/usr/sbin \
+    --cache-file=config.cache</userinput></screen>
 
     <para os="c">Compile the package:</para>
 




More information about the Clfs-commits mailing list