r1773 - branches/clfs-2.0/BOOK/final-system/common

jciccone at linuxfromscratch.org jciccone at linuxfromscratch.org
Fri Jun 16 16:50:37 PDT 2006


Author: jciccone
Date: 2006-06-16 17:50:36 -0600 (Fri, 16 Jun 2006)
New Revision: 1773

Modified:
   branches/clfs-2.0/BOOK/final-system/common/coreutils.xml
Log:
Fixed an issue where coreutils wouldn't install df because of a failed configure test.

Modified: branches/clfs-2.0/BOOK/final-system/common/coreutils.xml
===================================================================
--- branches/clfs-2.0/BOOK/final-system/common/coreutils.xml	2006-06-16 22:32:03 UTC (rev 1772)
+++ branches/clfs-2.0/BOOK/final-system/common/coreutils.xml	2006-06-16 23:50:36 UTC (rev 1773)
@@ -25,14 +25,20 @@
   <sect2 role="installation">
     <title>Installation of Coreutils</title>
 
-    <para os="a">Prevent Coreutils from installing binaries that will be
+    <para os="p1">Prevent Coreutils from installing binaries that will be
     installed by other packages:</para>
 
-<screen os="b"><userinput>patch -Np1 -i ../&coreutils-suppress-patch;</userinput></screen>
+<screen os="p2"><userinput>patch -Np1 -i ../&coreutils-suppress-patch;</userinput></screen>
 
+    <para os="a">Configure doesn't properly handle the following tests
+    when cross-compiling:</para>
+
+<screen os="b"><userinput>echo "ac_cv_func_setvbuf_reversed=yes" > config.cache
+echo "fu_cv_sys_stat_statfs2_bsize=yes" >> config.cache</userinput></screen>
+
     <para os="c">Now prepare Coreutils for compilation:</para>
 
-<screen os="d"><userinput>./configure --prefix=/usr \
+<screen os="d"><userinput>./configure --prefix=/usr --cache-file=config.cache \
    --build=${LFS_HOST} --host=${LFS_TARGET}</userinput></screen>
 
     <para os="e">Compile the package:</para>




More information about the cross-lfs mailing list