From 2772bb9c30d8bc9fe97405cf6135c7b43ac0aa16 Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Tue, 2 Mar 2021 22:02:06 +0000 Subject: Fix a header file in python, so that #include works. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12153 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter01/changelog.xml | 11 +++++++++++ chapter08/python.xml | 4 ++++ general.ent | 6 +++--- 3 files changed, 18 insertions(+), 3 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 8e9cdda9e..08a12ae00 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -43,6 +43,17 @@ appropriate for the entry or if needed the entire day's listitem. --> + + 2021-03-02 + + + [pierre] - Fix a header file for python, so that + #include <python&python-minor;/Python.h> + works. + + + + 2021-03-01 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 @@ Installation of Python 3 + First, a header file needs to be fixed: + +sed 's|cpython/||' -i Include/cpython/pystate.h + Prepare Python for compilation: ./configure --prefix=/usr \ diff --git a/general.ent b/general.ent index cc6fc5edb..d1bd0cff1 100644 --- a/general.ent +++ b/general.ent @@ -1,13 +1,13 @@ - + - + - + -- cgit v1.2.3-54-g00ecf