Added a patch to the Python instructions so that it is compatible with Berkeley-DB-4.8.26

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@8294 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Randy McMurchy 2010-03-06 18:35:31 +00:00
parent ffc584a344
commit 2f838008df
2 changed files with 9 additions and 4 deletions

View File

@ -66,16 +66,15 @@
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
<!-- replaced with seds
<bridgehead renderas="sect4">Required Patch</bridgehead>
<itemizedlist spacing='compact'>
<listitem>
<para><ulink
url="&patch-root;/Python-&Python-version;-gdbm-1.patch"/></para>
url="&patch-root;/Python-&Python-version;-bdb_4.8-1.patch"/></para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect4">Optional Patch</bridgehead>
<!-- <bridgehead renderas="sect4">Optional Patch</bridgehead>
<itemizedlist spacing='compact'>
<listitem>
<para><ulink
@ -126,6 +125,7 @@
<screen><userinput>sed -i "s/ndbm_libs = \[\]/ndbm_libs = ['gdbm', 'gdbm_compat']/" \
setup.py &amp;&amp;
patch -Np1 -i ../Python-&Python-version;-bdb_4.8-1.patch &amp;&amp;
./configure --prefix=/usr --enable-shared &amp;&amp;
make</userinput></screen>
@ -137,7 +137,8 @@ make</userinput></screen>
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
<screen role="root"><userinput>make install</userinput></screen>
<screen role="root"><userinput>make install &amp;&amp;
chmod -v 755 /usr/lib/libpython2.6.so.1.0</userinput></screen>
<para>There is no documentation installed using the instructions above.
See the <filename>Doc/README.txt</filename> file in the source

View File

@ -44,6 +44,10 @@
<listitem>
<para>March 7th, 2010</para>
<itemizedlist>
<listitem>
<para>[randy] - Added a patch to the Python instructions so that it
is compatible with Berkeley-DB-4.8.26.</para>
</listitem>
<listitem>
<para>[randy] - Updated to Berkeley-DB-4.8.26.</para>
</listitem>