aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre Labastie <pieere@linuxfromscratch.org>2021-03-02 22:02:06 +0000
committerPierre Labastie <pieere@linuxfromscratch.org>2021-03-02 22:02:06 +0000
commit2772bb9c30d8bc9fe97405cf6135c7b43ac0aa16 (patch)
treec66e3b91aefedcda568867099e4e6d152d46dc7c
parentd221e7186d7f176777d84b85fcc71f8058ddb60f (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
-rw-r--r--chapter01/changelog.xml11
-rw-r--r--chapter08/python.xml4
-rw-r--r--general.ent6
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
@@ -44,6 +44,17 @@
-->
<listitem>
+ <para>2021-03-02</para>
+ <itemizedlist>
+ <listitem>
+ <para>[pierre] - Fix a header file for python, so that
+ <command>#include &lt;python&python-minor;/Python.h&gt;</command>
+ works.</para>
+ </listitem>
+ </itemizedlist>
+ </listitem>
+
+ <listitem>
<para>2021-03-01</para>
<itemizedlist>
<listitem>
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 \
diff --git a/general.ent b/general.ent
index cc6fc5edb..d1bd0cff1 100644
--- a/general.ent
+++ b/general.ent
@@ -1,13 +1,13 @@
-<!ENTITY version "SVN-20210301">
+<!ENTITY version "SVN-20210302">
<!ENTITY short-version "svn"> <!-- Used below in &blfs-book;
Change to x.y for release but not -rc releases -->
<!ENTITY generic-version "development"> <!-- Use "development" or "x.y[-pre{x}]" -->
-<!ENTITY versiond "20210301-systemd">
+<!ENTITY versiond "20210302-systemd">
<!ENTITY short-versiond "systemd">
<!ENTITY generic-versiond "systemd">
-<!ENTITY releasedate "March 1st, 2021">
+<!ENTITY releasedate "March 2nd, 2021">
<!ENTITY copyrightdate "1999-2021"><!-- jhalfs needs a literal dash, not &ndash; -->