Changeset 879d269


Ignore:
Timestamp:
02/17/2009 11:10:06 PM (15 years ago)
Author:
Randy McMurchy <randy@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
c3f2d96
Parents:
a270244
Message:

Replaced two patches with seds in the Python instructions, also updated the dependencies and installed programs sections

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

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • general.ent

    ra270244 r879d269  
    44-->
    55
    6 <!ENTITY day          "16">                   <!-- Always 2 digits -->
     6<!ENTITY day          "18">                   <!-- Always 2 digits -->
    77<!ENTITY month        "02">                   <!-- Always 2 digits -->
    88<!ENTITY year         "2009">
  • general/prog/python.xml

    ra270244 r879d269  
    88  <!ENTITY python-download-ftp  "&gentoo-ftp-repo;/Python-&Python-version;.tar.bz2">
    99  <!ENTITY python-md5sum        "e81c2f0953aa60f8062c05a4673f2be0">
    10   <!ENTITY python-size          "10.5 MB">
    11   <!ENTITY python-buildsize     "186 MB (additional 13M to run the test suite)">
    12   <!ENTITY python-time          "1.2 SBU (additional 2.6 SBU to run the test suite)">
     10  <!ENTITY python-size          "10.9 MB">
     11  <!ENTITY python-buildsize     "227 MB">
     12  <!ENTITY python-time          "1.4 SBU (additional 2.9 SBU to run the test suite)">
    1313]>
    1414
     
    5959    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
    6060
     61    <!-- replaced with seds
    6162    <bridgehead renderas="sect4">Required Patch</bridgehead>
    6263    <itemizedlist spacing='compact'>
     
    7374        url="&patch-root;/Python-&Python-version;-testing-1.patch"/></para>
    7475      </listitem>
    75     </itemizedlist>
     76    </itemizedlist> -->
    7677
    7778    <bridgehead renderas="sect4">Optional HTML Documentation</bridgehead>
     
    8687
    8788    <bridgehead renderas="sect4">Optional</bridgehead>
    88     <para role="optional"><xref linkend="pth"/></para>
     89    <para role="optional"><xref linkend="pth"/>,
     90    <xref linkend="gcc"/> (install JAVA for the
     91    <filename class="libraryfile">libffi</filename> library) or
     92    <ulink url="http://sourceware.org/libffi/">libffi</ulink>, and
     93    <ulink url="http://www.bluez.org/">BlueZ</ulink></para>
    8994
    9095    <bridgehead renderas="sect4">Optional
     
    107112    commands:</para>
    108113
    109 <screen><userinput>patch -Np1 -i ../Python-&Python-version;-gdbm-1.patch &amp;&amp;
    110 patch -Np1 -i ../Python-&Python-version;-testing-1.patch &amp;&amp;
     114<screen><userinput>sed -i "s/ndbm_libs = \[\]/ndbm_libs = ['gdbm', 'gdbm_compat']/" \
     115     setup.py &amp;&amp;
     116sed -i "s/www.python.invalid./sadflkjsasf.i.nvali.d/" \
     117     Lib/test/test_urllib2_localnet.py \
     118     Lib/test/test_urllibnet.py &amp;&amp;
     119
    111120./configure --prefix=/usr --enable-shared &amp;&amp;
    112121make</userinput></screen>
     
    141150    -xvf ../python-&python-majorver;-docs-html.tar.bz2</userinput></screen>
    142151
     152  </sect2>
     153
     154  <sect2 role="commands">
     155    <title>Command Explanations</title>
     156
     157    <para><command>sed -i "s/ndbm_libs = ..." setup.py</command>: This command
     158    is used to fix a build problem with the <application>GDBM</application>
     159    library.</para>
     160
     161    <para><command>sed -i "s/www.python.invalid./ ..."</command>: This command
     162    is copied from upstream and used to fix an intermittent problem with a
     163    couple of the test suite programs.</para>
     164
     165  </sect2>
     166
     167  <sect2 role="configuration">
     168    <title>Configuring Python</title>
     169
    143170    <para>In order for <command>python</command> to find the installed
    144171    documentation, you must add the following environment variable to
     
    158185
    159186      <seglistitem>
    160         <seg>pydoc, python, python&python-majorver;, smtpd.py, and optionally if
     187        <seg>2to3, pydoc, python, python-config, python&python-majorver;,
     188        python&python-majorver;-config, smtpd.py, and optionally if
    161189        <application>Tk</application> is installed, idle</seg>
    162190        <seg>libpython&python-majorver;.so and numerous modules installed in
  • introduction/welcome/changelog.xml

    ra270244 r879d269  
    4343
    4444    <listitem>
     45      <para>February 18th, 2009</para>
     46      <itemizedlist>
     47        <listitem>
     48          <para>[randy] - Replaced two patches with seds in the Python
     49          instructions, also updated the dependencies and installed
     50          programs sections.</para>
     51        </listitem>
     52      </itemizedlist>
     53    </listitem>
     54
     55    <listitem>
    4556      <para>February 16th, 2009</para>
    4657      <itemizedlist>
Note: See TracChangeset for help on using the changeset viewer.