Author: xry111 Date: Wed May 1 23:28:09 2019 New Revision: 21534 Log: Recommend P3 with six for GDB
Modified: trunk/BOOK/general/prog/gdb.xml Modified: trunk/BOOK/general/prog/gdb.xml ============================================================================== --- trunk/BOOK/general/prog/gdb.xml Wed May 1 13:11:32 2019 (r21533) +++ trunk/BOOK/general/prog/gdb.xml Wed May 1 23:28:09 2019 (r21534) @@ -76,14 +76,20 @@ <bridgehead renderas="sect3">GDB Dependencies</bridgehead> + <bridgehead renderas="sect4">Recommended Runtime Dependency</bridgehead> + <para role="recommended"> + <xref linkend="six"/> (Python 3 module, required at run-time to + use GDB scripts from various LFS/BLFS packages with Python 3 + installed in LFS) + </para> + <bridgehead renderas="sect4">Optional</bridgehead> <para role="optional"> <xref linkend="dejagnu"/> (required for tests), <xref linkend="doxygen"/>, <xref linkend="gcc"/> (ada and gfortran are used for tests), <xref linkend="guile"/>, - <xref linkend="python2"/> or <xref linkend="six"/> (Python 3 module, - run-time), + <xref linkend="python2"/>, <xref linkend="rust"/> (used for some tests), <xref linkend="valgrind"/>, and <ulink url="https://sourceware.org/systemtap/">SystemTap</ulink> @@ -103,7 +109,9 @@ commands: </para> -<screen><userinput>./configure --prefix=/usr --with-system-readline && +<screen><userinput>./configure --prefix=/usr \ + --with-system-readline \ + --with-python=/usr/bin/python3 && make</userinput></screen> <para> @@ -225,8 +233,8 @@ <para> <parameter>--with-python=/usr/bin/python3</parameter>: This switch forces <application>GDB</application> to use Python 3 installed - in LFS. Note that many GDB scripts shipped with LFS/BLFS packages - require <xref linkend="six"/> to work with Python 3. + in LFS. Remove this switch if you have installed + <xref linkend="python2"/> and want to use it instead of Python 3. </para> </sect2> -- http://lists.linuxfromscratch.org/listinfo/blfs-book FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page