aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08/python.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter08/python.xml')
-rw-r--r--chapter08/python.xml4
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 \