Author: randy
Date: 2010-03-06 11:35:31 -0700 (Sat, 06 Mar 2010)
New Revision: 8294
Modified:
trunk/BOOK/general/prog/python.xml
trunk/BOOK/introduction/welcome/changelog.xml
Log:
Added a patch to the Python instructions so that it is compatible with
Berkeley-DB-4.8.26
Modified: trunk/BOOK/general/prog/python.xml
===================================================================
--- trunk/BOOK/general/prog/python.xml 2010-03-06 18:16:24 UTC (rev 8293)
+++ trunk/BOOK/general/prog/python.xml 2010-03-06 18:35:31 UTC (rev 8294)
@@ -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 &&
+patch -Np1 -i ../Python-&Python-version;-bdb_4.8-1.patch &&
./configure --prefix=/usr --enable-shared &&
make</userinput></screen>
@@ -137,7 +137,8 @@
<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 &&
+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
Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml 2010-03-06 18:16:24 UTC
(rev 8293)
+++ trunk/BOOK/introduction/welcome/changelog.xml 2010-03-06 18:35:31 UTC
(rev 8294)
@@ -45,6 +45,10 @@
<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>
<listitem>
--
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page