diff options
author | Pierre Labastie <pieere@linuxfromscratch.org> | 2021-03-02 22:02:06 +0000 |
---|---|---|
committer | Pierre Labastie <pieere@linuxfromscratch.org> | 2021-03-02 22:02:06 +0000 |
commit | 2772bb9c30d8bc9fe97405cf6135c7b43ac0aa16 (patch) | |
tree | c66e3b91aefedcda568867099e4e6d152d46dc7c /chapter08/python.xml | |
parent | d221e7186d7f176777d84b85fcc71f8058ddb60f (diff) |
Fix a header file in python, so that #include <python3.9/Python.h> works.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12153 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter08/python.xml')
-rw-r--r-- | chapter08/python.xml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chapter08/python.xml b/chapter08/python.xml index b71822b9b..27384e94c 100644 --- a/chapter08/python.xml +++ b/chapter08/python.xml @@ -42,6 +42,10 @@ <sect2 role="installation"> <title>Installation of Python 3</title> + <para>First, a header file needs to be fixed:</para> + +<screen><userinput remap="pre">sed 's|cpython/||' -i Include/cpython/pystate.h</userinput></screen> + <para>Prepare Python for compilation:</para> <screen><userinput remap="configure">./configure --prefix=/usr \ |