mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-07-17 09:45:10 +01:00
More Berkeleyization for DB, thanks to Randy for advice.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7259 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
f76cde828d
commit
2df049de47
@ -138,7 +138,8 @@ gccbug will use mktemp.</para>
|
||||
</listitem>
|
||||
|
||||
<listitem><para>January 7, 2006 [ken]: Give Berkeley DB its full name,
|
||||
and remove the '-lpthread' overrides.</para>
|
||||
and remove the '-lpthread' overrides. Also add pointer to BLFS, thanks
|
||||
to Randy McMurchy.</para>
|
||||
</listitem>
|
||||
|
||||
<listitem><para>January 5, 2006 [jhuntwork]: Remove mention of news
|
||||
|
@ -7,7 +7,7 @@
|
||||
<title>Berkeley DB-&db-version;</title>
|
||||
<?dbhtml filename="db.html"?>
|
||||
|
||||
<indexterm zone="ch-system-db"><primary sortas="a-DB">Berkeley DB</primary></indexterm>
|
||||
<indexterm zone="ch-system-db"><primary sortas="a-Berkeley-DB">Berkeley DB</primary></indexterm>
|
||||
|
||||
<sect2 role="package"><title/>
|
||||
<para>The Berkeley DB package contains programs and utilities used by many other
|
||||
@ -16,7 +16,7 @@ applications for database related functions.</para>
|
||||
<segmentedlist>
|
||||
<segtitle>&buildtime;</segtitle>
|
||||
<segtitle>&diskspace;</segtitle>
|
||||
<seglistitem><seg>1.0 SBU</seg><seg>74 MB</seg></seglistitem>
|
||||
<seglistitem><seg>1.2 SBU</seg><seg>78 MB</seg></seglistitem>
|
||||
</segmentedlist>
|
||||
|
||||
<segmentedlist>
|
||||
@ -24,12 +24,22 @@ applications for database related functions.</para>
|
||||
<seglistitem><seg>Bash, Binutils, Coreutils,
|
||||
Diffutils, GCC, Glibc, Make and Sed.</seg></seglistitem>
|
||||
</segmentedlist>
|
||||
|
||||
<tip>
|
||||
<title>Extra functionality for Berkeley DB in BLFS</title>
|
||||
<para>There are instructions to build this package in the BLFS book if you need to build the RPC server or additional language bindings. The
|
||||
additional language bindings will require additional packages to be
|
||||
installed. The BLFS instructions are located at
|
||||
<ulink url="&blfs-root;view/svn/server/databases.html#db"/>
|
||||
for suggested installation instructions.</para>
|
||||
</tip>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2 role="installation">
|
||||
<title>Installation of DB</title>
|
||||
<title>Installation of Berkeley DB</title>
|
||||
|
||||
<para>Prepare DB for compilation:</para>
|
||||
<para>Prepare Berkeley DB for compilation:</para>
|
||||
|
||||
<screen><userinput>cd build_unix &&
|
||||
../dist/configure --prefix=/usr --enable-compat185 --enable-cxx</userinput></screen>
|
||||
@ -39,7 +49,7 @@ Diffutils, GCC, Glibc, Make and Sed.</seg></seglistitem>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>--enable-compat185</parameter></term>
|
||||
<listitem><para>This option enables building DB 1.85 compatibility API.</para></listitem>
|
||||
<listitem><para>This option enables building Berkeley DB 1.85 compatibility API.</para></listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
@ -70,7 +80,7 @@ not against Glibc in <filename class="directory">/usr</filename>.</para>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
|
||||
<para>Fix the permissions on the installed documentation files:</para>
|
||||
<para>Fix the ownerships of the installed files:</para>
|
||||
|
||||
<screen><userinput>chown root:root /usr/bin/db_* \
|
||||
/usr/lib/libdb* /usr/include/db* &&
|
||||
@ -79,7 +89,7 @@ chown -R root:root /usr/share/doc/db-&db-version;</userinput></screen>
|
||||
</sect2>
|
||||
|
||||
|
||||
<sect2 id="contents-db" role="content"><title>Contents of DB</title>
|
||||
<sect2 id="contents-db" role="content"><title>Contents of Berkeley DB</title>
|
||||
<segmentedlist>
|
||||
<segtitle>Installed programs</segtitle>
|
||||
<seglistitem><seg>db_archive, db_checkpoint, db_deadlock, db_dump,
|
||||
|
@ -25,7 +25,7 @@
|
||||
<segmentedlist>
|
||||
<segtitle>&dependencies;</segtitle>
|
||||
<seglistitem>
|
||||
<seg>DB, GCC, Glibc, Make, and Linux-Headers</seg>
|
||||
<seg>Berkeley DB, GCC, Glibc, Make, and Linux-Headers</seg>
|
||||
</seglistitem>
|
||||
</segmentedlist>
|
||||
</sect2>
|
||||
@ -59,7 +59,7 @@
|
||||
|
||||
<screen><userinput>make SBINDIR=/sbin install</userinput></screen>
|
||||
|
||||
<para>The <command>arpd</command> binary links against the DB libraries
|
||||
<para>The <command>arpd</command> binary links against the Berkeley DB libraries
|
||||
that reside in <filename class="directory">/usr</filename> and
|
||||
uses a database in <filename>/var/lib/arpd/arpd.db</filename>. Thus,
|
||||
according to the FHS, it must be
|
||||
|
@ -20,8 +20,8 @@
|
||||
|
||||
<segmentedlist>
|
||||
<segtitle>&dependencies;</segtitle>
|
||||
<seglistitem><seg>Bash, Binutils, Coreutils, Gawk, GCC, DB,
|
||||
Glibc, Gettext, Grep, Make, and Sed</seg></seglistitem>
|
||||
<seglistitem><seg>Bash, Berkeley DB, Binutils, Coreutils, Gawk, GCC,
|
||||
Gettext, Glibc, Grep, Make, and Sed</seg></seglistitem>
|
||||
</segmentedlist>
|
||||
</sect2>
|
||||
|
||||
|
@ -20,7 +20,7 @@
|
||||
|
||||
<segmentedlist>
|
||||
<segtitle>&dependencies;</segtitle>
|
||||
<seglistitem><seg>Bash, Binutils, Coreutils, DB, Diffutils,
|
||||
<seglistitem><seg>Bash, Berkeley DB, Binutils, Coreutils, Diffutils,
|
||||
Gawk, GCC, Glibc, Grep, Make, and Sed</seg></seglistitem>
|
||||
</segmentedlist>
|
||||
</sect2>
|
||||
|
Loading…
Reference in New Issue
Block a user