aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorMatthew Burgess <matthew@linuxfromscratch.org>2011-08-14 22:33:16 +0000
committerMatthew Burgess <matthew@linuxfromscratch.org>2011-08-14 22:33:16 +0000
commitf7b8c6d7db725427a24c1b8bf992c612e0f97d0f (patch)
tree936cf98d9f1e7e25cc5a819c875195711b3832ff /chapter06
parentdc504daa20567832806a4a38c6946f51c66628c9 (diff)
Upgrade to GDBM-1.9.1. Fixes #2913.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9585 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/gdbm.xml29
1 files changed, 17 insertions, 12 deletions
diff --git a/chapter06/gdbm.xml b/chapter06/gdbm.xml
index 612b5d53d..83b0e05df 100644
--- a/chapter06/gdbm.xml
+++ b/chapter06/gdbm.xml
@@ -45,28 +45,33 @@
<para>Prepare GDBM for compilation:</para>
-<screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
+<screen><userinput remap="configure">./configure --prefix=/usr --enable-libgdbm-compat</userinput></screen>
+
+ <variablelist>
+ <title>The meaning of the configure option:</title>
+
+ <varlistentry>
+ <term><envar>--enable-libgdbm-compat</envar></term>
+ <listitem>
+ <para>This switch enables the libgdbm compatibility library to be
+ built, as some packages outside of LFS may require the older DBM
+ routines it provides.</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
<para>Compile the package:</para>
<screen><userinput remap="make">make</userinput></screen>
- <para>This package does not come with a test suite.</para>
+ <para>To test the results, issue:</para>
+
+<screen><userinput remap="test">make check</userinput></screen>
<para>Install the package:</para>
<screen><userinput remap="install">make install</userinput></screen>
- <para>In addition, install the DBM and NDBM compatibility headers, as some
- packages outside of LFS may look for these older dbm routines:</para>
-
-<screen><userinput remap="install">make install-compat</userinput></screen>
-
- <para>Fix a minor installation issue by manually adding GDBM to the
- <command>info</command> table of contents:</para>
-
-<screen><userinput remap="install">install-info --dir-file=/usr/info/dir /usr/info/gdbm.info</userinput></screen>
-
</sect2>
<sect2 id="contents-gdbm" role="content">