Author: pierre Date: Tue Mar 2 14:02:06 2021 New Revision: 12153 Log: Fix a header file in python, so that #include <python3.9/Python.h> works.
Modified: trunk/BOOK/chapter01/changelog.xml trunk/BOOK/chapter08/python.xml trunk/BOOK/general.ent Modified: trunk/BOOK/chapter01/changelog.xml ============================================================================== --- trunk/BOOK/chapter01/changelog.xml Mon Mar 1 18:42:12 2021 (r12152) +++ trunk/BOOK/chapter01/changelog.xml Tue Mar 2 14:02:06 2021 (r12153) @@ -44,6 +44,17 @@ --> <listitem> + <para>2021-03-02</para> + <itemizedlist> + <listitem> + <para>[pierre] - Fix a header file for python, so that + <command>#include <python&python-minor;/Python.h></command> + works.</para> + </listitem> + </itemizedlist> + </listitem> + + <listitem> <para>2021-03-01</para> <itemizedlist> <listitem> Modified: trunk/BOOK/chapter08/python.xml ============================================================================== --- trunk/BOOK/chapter08/python.xml Mon Mar 1 18:42:12 2021 (r12152) +++ trunk/BOOK/chapter08/python.xml Tue Mar 2 14:02:06 2021 (r12153) @@ -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 \ Modified: trunk/BOOK/general.ent ============================================================================== --- trunk/BOOK/general.ent Mon Mar 1 18:42:12 2021 (r12152) +++ trunk/BOOK/general.ent Tue Mar 2 14:02:06 2021 (r12153) @@ -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 – --> -- http://lists.linuxfromscratch.org/listinfo/lfs-book FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page