Author: pierre
Date: Wed May  6 04:46:06 2020
New Revision: 11835

Log:
Prevent "make" from using guile from the build host

Modified:
   branches/cross-chap5/chapter05/make.xml

Modified: branches/cross-chap5/chapter05/make.xml
==============================================================================
--- branches/cross-chap5/chapter05/make.xml     Mon May  4 17:55:08 2020        
(r11834)
+++ branches/cross-chap5/chapter05/make.xml     Wed May  6 04:46:06 2020        
(r11835)
@@ -45,9 +45,23 @@
     <para>Prepare Make for compilation:</para>
 
 <screen><userinput remap="configure">./configure --prefix=/usr   \
+            --without-guile \
             --host=$LFS_TGT \
             --build=$(build-aux/config.guess)</userinput></screen>
 
+    <variablelist>
+      <title>The meaning of the new configure option:</title>
+
+      <varlistentry>
+        <term><parameter>--without-guile</parameter></term>
+        <listitem>
+          <para>Although we are cross-compiling, configure tries to use
+          guile from the build host if it finds it. This makes compilation
+          fail, so this switch prevents using it.</para>
+        </listitem>
+      </varlistentry>
+    </variablelist>
+
     <para>Compile the package:</para>
 
 <screen><userinput remap="make">make</userinput></screen>
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to