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
This commit is contained in:
Pierre Labastie 2021-03-02 22:02:06 +00:00
parent d221e7186d
commit 2772bb9c30
3 changed files with 18 additions and 3 deletions

View File

@ -43,6 +43,17 @@
appropriate for the entry or if needed the entire day's listitem.
-->
<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>

View File

@ -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 \

View File

@ -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; -->