Changeset 5d2fe08 for chapter06/file.xml


Ignore:
Timestamp:
02/04/2021 03:34:31 PM (3 years ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
114a300
Parents:
97d5e74
Message:

ch06/file: disable host libraries to prevent FTBFS

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12125 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/file.xml

    r97d5e74 r5d2fe08  
    5252<screen><userinput remap="pre">mkdir build
    5353pushd build
    54   ../configure
     54  ../configure --disable-bzlib      \
     55               --disable-libseccomp \
     56               --disable-xzlib      \
     57               --disable-zlib
    5558  make
    5659popd</userinput></screen>
     60
     61    <variablelist>
     62      <title>The meaning of the new configure option:</title>
     63
     64      <varlistentry>
     65        <term><parameter>--disable-*</parameter></term>
     66        <listitem>
     67          <para>The configuration script attempt to use some packages from
     68          the host distribution if the corresponding library files exist.
     69          It may cause compilation failure if a library file exists, but
     70          the corresponding header files do not exist.  The options prevent
     71          to use the packages from the host.</para>
     72        </listitem>
     73      </varlistentry>
     74    </variablelist>
    5775
    5876    <para>Prepare File for compilation:</para>
Note: See TracChangeset for help on using the changeset viewer.