diff options
author | Pierre Labastie <pieere@linuxfromscratch.org> | 2020-05-03 21:02:51 +0000 |
---|---|---|
committer | Pierre Labastie <pieere@linuxfromscratch.org> | 2020-05-03 21:02:51 +0000 |
commit | efcb3933433838b71f3a4a53ec1ac6d899aaec0b (patch) | |
tree | f0b1fb24d5ac7ebb93cc2deddefbc16938ea49d0 /chapter05/python.xml | |
parent | 9d719e24c33f9a2ecf8a5582cd811c43a8fa46c2 (diff) |
Make the new book
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross-chap5@11831 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05/python.xml')
-rw-r--r-- | chapter05/python.xml | 23 |
1 files changed, 5 insertions, 18 deletions
diff --git a/chapter05/python.xml b/chapter05/python.xml index fcca9c92c..8e7afaf03 100644 --- a/chapter05/python.xml +++ b/chapter05/python.xml @@ -5,8 +5,8 @@ %general-entities; ]> -<sect1 id="ch-tools-Python" role="wrap"> - <?dbhtml filename="Python.html"?> +<sect1 id="ch-system-Python-temp" role="wrap"> + <?dbhtml filename="Python-temp.html"?> <sect1info condition="script"> <productname>Python</productname> @@ -16,9 +16,9 @@ <title>Python-&python-version;</title> - <indexterm zone="ch-tools-Python"> + <indexterm zone="ch-system-Python-temp"> <primary sortas="a-Python">Python</primary> - <secondary>tools</secondary> + <secondary>temporary</secondary> </indexterm> <sect2 role="package"> @@ -50,18 +50,9 @@ uppercase first letter).</para> </note> - <para>This package first builds the Python interpreter, then some - standard Python modules. The main script for building modules is - written in Python, and uses hard-coded paths to the host <filename - class="directory">/usr/include</filename> and <filename - class="directory">/usr/lib</filename> directories. To prevent them - from being used, issue:</para> - -<screen><userinput remap="pre">sed -i '/def add_multiarch_paths/a \ return' setup.py</userinput></screen> - <para>Prepare Python for compilation:</para> -<screen><userinput remap="configure">./configure --prefix=/tools --without-ensurepip</userinput></screen> +<screen><userinput remap="configure">./configure --prefix=/usr --without-ensurepip</userinput></screen> <variablelist> <title>The meaning of the configure option:</title> @@ -80,10 +71,6 @@ <screen><userinput remap="make">make</userinput></screen> - <para>Compilation is now complete. The test suite requires TK and - and X Windows and cannot be run at this time. - </para> - <para>Install the package:</para> <screen><userinput remap="install">make install</userinput></screen> |