make: Remove --without-guile from chapter 6

This seems just a remnant from the pre-cross-chap5 era.  Now with the cross-
toolchain the build system cannot find guile headers and libraries, thus
guile should be disabled by default.

I've also tried this on a host distro with guile installed.
This commit is contained in:
Xi Ruoyao 2025-04-04 15:44:07 +08:00
parent 32a9d4b35b
commit f3e6b8964f
No known key found for this signature in database
GPG Key ID: ACAAD20E19E710E3

View File

@ -45,23 +45,9 @@
<para>Prepare Make for compilation:</para> <para>Prepare Make for compilation:</para>
<screen><userinput remap="configure">./configure --prefix=/usr \ <screen><userinput remap="configure">./configure --prefix=/usr \
--without-guile \
--host=$LFS_TGT \ --host=$LFS_TGT \
--build=$(build-aux/config.guess)</userinput></screen> --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> <para>Compile the package:</para>
<screen><userinput remap="make">make</userinput></screen> <screen><userinput remap="make">make</userinput></screen>