Ignore:
Timestamp:
05/02/2019 06:28:09 AM (5 years ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 9.0, 9.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
60424b6
Parents:
118b201
Message:

Recommend P3 with six for GDB

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@21534 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/prog/gdb.xml

    r118b201 r9533795  
    7777    <bridgehead renderas="sect3">GDB Dependencies</bridgehead>
    7878
     79    <bridgehead renderas="sect4">Recommended Runtime Dependency</bridgehead>
     80    <para role="recommended">
     81      <xref linkend="six"/> (Python 3 module, required at run-time to
     82      use GDB scripts from various LFS/BLFS packages with Python 3
     83      installed in LFS)
     84    </para>
     85
    7986    <bridgehead renderas="sect4">Optional</bridgehead>
    8087    <para role="optional">
     
    8390      <xref linkend="gcc"/> (ada and gfortran are used for tests),
    8491      <xref linkend="guile"/>,
    85           <xref linkend="python2"/> or <xref linkend="six"/> (Python 3 module,
    86           run-time),
     92      <xref linkend="python2"/>,
    8793      <xref linkend="rust"/> (used for some tests),
    8894      <xref linkend="valgrind"/>, and
     
    104110    </para>
    105111
    106 <screen><userinput>./configure --prefix=/usr --with-system-readline &amp;&amp;
     112<screen><userinput>./configure --prefix=/usr \
     113            --with-system-readline \
     114            --with-python=/usr/bin/python3 &amp;&amp;
    107115make</userinput></screen>
    108116
     
    226234      <parameter>--with-python=/usr/bin/python3</parameter>: This switch
    227235      forces <application>GDB</application> to use Python 3 installed
    228       in LFS.  Note that many GDB scripts shipped with LFS/BLFS packages
    229       require <xref linkend="six"/> to work with Python 3.
     236      in LFS.  Remove this switch if you have installed
     237      <xref linkend="python2"/> and want to use it instead of Python 3.
    230238    </para>
    231239
Note: See TracChangeset for help on using the changeset viewer.