Ignore:
Timestamp:
05/03/2020 09:02:51 PM (4 years ago)
Author:
Pierre Labastie <pieere@…>
Branches:
10.0, 10.0-rc1, 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:
a715dec
Parents:
9d719e2
Message:

Make the new book

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross-chap5@11831 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter05/python.xml

    r9d719e2 refcb393  
    66]>
    77
    8 <sect1 id="ch-tools-Python" role="wrap">
    9   <?dbhtml filename="Python.html"?>
     8<sect1 id="ch-system-Python-temp" role="wrap">
     9  <?dbhtml filename="Python-temp.html"?>
    1010
    1111  <sect1info condition="script">
     
    1717  <title>Python-&python-version;</title>
    1818
    19   <indexterm zone="ch-tools-Python">
     19  <indexterm zone="ch-system-Python-temp">
    2020    <primary sortas="a-Python">Python</primary>
    21     <secondary>tools</secondary>
     21    <secondary>temporary</secondary>
    2222  </indexterm>
    2323
     
    5151    </note>
    5252
    53     <para>This package first builds the Python interpreter, then some
    54     standard Python modules. The main script for building modules is
    55     written in Python, and uses hard-coded paths to the host <filename
    56     class="directory">/usr/include</filename> and <filename
    57     class="directory">/usr/lib</filename> directories. To prevent them
    58     from being used, issue:</para>
    59 
    60 <screen><userinput remap="pre">sed -i '/def add_multiarch_paths/a \        return' setup.py</userinput></screen>
    61 
    6253    <para>Prepare Python for compilation:</para>
    6354
    64 <screen><userinput remap="configure">./configure --prefix=/tools --without-ensurepip</userinput></screen>
     55<screen><userinput remap="configure">./configure --prefix=/usr --without-ensurepip</userinput></screen>
    6556
    6657    <variablelist>
     
    8172<screen><userinput remap="make">make</userinput></screen>
    8273
    83     <para>Compilation is now complete. The test suite requires TK and
    84     and X Windows and cannot be run at this time.
    85     </para>
    86 
    8774    <para>Install the package:</para>
    8875
Note: See TracChangeset for help on using the changeset viewer.