Changeset efcb393 for chapter05/python.xml
- Timestamp:
- 05/03/2020 09:02:51 PM (4 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter05/python.xml
r9d719e2 refcb393 6 6 ]> 7 7 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"?> 10 10 11 11 <sect1info condition="script"> … … 17 17 <title>Python-&python-version;</title> 18 18 19 <indexterm zone="ch- tools-Python">19 <indexterm zone="ch-system-Python-temp"> 20 20 <primary sortas="a-Python">Python</primary> 21 <secondary>t ools</secondary>21 <secondary>temporary</secondary> 22 22 </indexterm> 23 23 … … 51 51 </note> 52 52 53 <para>This package first builds the Python interpreter, then some54 standard Python modules. The main script for building modules is55 written in Python, and uses hard-coded paths to the host <filename56 class="directory">/usr/include</filename> and <filename57 class="directory">/usr/lib</filename> directories. To prevent them58 from being used, issue:</para>59 60 <screen><userinput remap="pre">sed -i '/def add_multiarch_paths/a \ return' setup.py</userinput></screen>61 62 53 <para>Prepare Python for compilation:</para> 63 54 64 <screen><userinput remap="configure">./configure --prefix=/ tools--without-ensurepip</userinput></screen>55 <screen><userinput remap="configure">./configure --prefix=/usr --without-ensurepip</userinput></screen> 65 56 66 57 <variablelist> … … 81 72 <screen><userinput remap="make">make</userinput></screen> 82 73 83 <para>Compilation is now complete. The test suite requires TK and84 and X Windows and cannot be run at this time.85 </para>86 87 74 <para>Install the package:</para> 88 75
Note:
See TracChangeset
for help on using the changeset viewer.