aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
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">