Author: igor
Date: Tue Dec 15 04:50:07 2015
New Revision: 16734
Log:
boost can use python3
Modified:
trunk/BOOK/general/genlib/boost.xml
Modified: trunk/BOOK/general/genlib/boost.xml
==============================================================================
--- trunk/BOOK/general/genlib/boost.xml Mon Dec 14 13:03:34 2015 (r16733)
+++ trunk/BOOK/general/genlib/boost.xml Tue Dec 15 04:50:07 2015 (r16734)
@@ -77,7 +77,7 @@
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional">
<xref linkend="icu"/>,
- <xref linkend="python2"/> and
+ <xref linkend="python2"/> or <xref linkend="python3"/>, and
<ulink url="https://www.open-mpi.org/">Open MPI</ulink>
</para>
@@ -90,6 +90,13 @@
<title>Installation of Boost</title>
<para>
+ If you want Boost to use Python3 instead of Python2, fix a bug with
+ the header files path:
+ </para>
+
+<screen><userinput>sed "/include.*python.*version/s/ ;/m ;/" -i
tools/build/src/tools/python.jam</userinput></screen>
+
+ <para>
Install <application>Boost</application> by running the following
commands:
</para>
@@ -154,6 +161,11 @@
parallel.
</para>
+ <para>
+ <option>--with-python=python3</option>: Add this switch if you want Boost
+ to use Python3 instead of Python2.
+ </para>
+
</sect2>
<sect2 role="content">
@@ -177,7 +189,7 @@
libboost_math_c99f.so, libboost_math_c99l.so, libboost_math_tr1.so,
libboost_math_tr1f.so, libboost_math_tr1l.so,
libboost_prg_exec_monitor.so, libboost_program_options.so,
- libboost_python.so, libboost_random.so, libboost_regex.so,
+ libboost_python.so, libboost_python3.so, libboost_random.so,
libboost_regex.so,
libboost_serialization.so, libboost_signals.so, libboost_system.a,
libboost_system.so, libboost_test_exec_monitor.a, libboost_thread.so,
libboost_timer.a, libboost_timer.so, libboost_unit_test_framework.so,
--
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page