source: server/databases/db.xml@ 5f0bab7

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 5f0bab7 was 5f0bab7, checked in by DJ Lucas <dj@…>, 19 years ago

update to jdk-1.5 and related fixes

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3795 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 8.1 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY db-download-http " ">
8 <!ENTITY db-download-ftp "ftp://sleepycat1.inetu.net/releases/db-&db-version;.tar.gz">
9 <!ENTITY db-md5sum "fcc481d52c3b80e20a328f8c0cb042bd">
10 <!ENTITY db-size "5.7 MB">
11 <!ENTITY db-buildsize "68 MB (additional 140 MB to run parallel standard testsuite)">
12 <!ENTITY db-time "1.23 SBU (additional 74.5 SBU to run parallel standard testsuite)">
13]>
14
15<sect1 id="db" xreflabel="Berkeley DB-&db-version;">
16<sect1info>
17<othername>$LastChangedBy$</othername>
18<date>$Date$</date>
19</sect1info>
20<?dbhtml filename="db.html"?>
21<title>Berkeley DB-&db-version;</title>
22<indexterm zone="db">
23<primary sortas="a-Berkeley-DB">Berkeley DB</primary></indexterm>
24
25<sect2>
26<title>Introduction to <application>Berkeley DB</application></title>
27
28<para>The <application>Berkeley DB</application> package contains programs and
29utilities used by many other applications for database related
30functions.</para>
31
32<sect3><title>Package information</title>
33<itemizedlist spacing='compact'>
34<listitem><para>Download (HTTP): <ulink
35url="&db-download-http;"/></para></listitem>
36<listitem><para>Download (FTP): <ulink
37url="&db-download-ftp;"/></para></listitem>
38<listitem><para>Download MD5 sum: &db-md5sum;</para></listitem>
39<listitem><para>Download size: &db-size;</para></listitem>
40<listitem><para>Estimated disk space required:
41&db-buildsize;</para></listitem>
42<listitem><para>Estimated build time:
43&db-time;</para></listitem></itemizedlist>
44</sect3>
45
46<sect3><title><application>Berkeley DB</application> dependencies</title>
47<sect4><title>Optional</title>
48<para><xref linkend="tcl"/> and <xref linkend="jdk"/></para>
49</sect4>
50</sect3>
51
52</sect2>
53
54<sect2>
55<title>Installation of <application>Berkeley DB</application></title>
56
57<para>Install <application>Berkeley DB</application> by running the following
58commands:</para>
59
60<screen><userinput><command>cd build_unix &amp;&amp;
61../dist/configure --prefix=/usr \
62 --enable-compat185 \
63 --enable-cxx &amp;&amp;
64make LIBSO_LIBS="-lpthread" LIBXSO_LIBS="-lpthread"</command></userinput></screen>
65
66<para>To test the results, start <command>tclsh</command> and issue:</para>
67
68<screen><userinput><command>source ../test/test.tcl
69run_parallel run_std</command></userinput></screen>
70
71<para>Now, as the root user:</para>
72
73<screen><userinput role='root'><command>make docdir=/usr/share/doc/db-&db-version; install &amp;&amp;
74chown root:root /usr/bin/db_* \
75/usr/lib/libdb* /usr/include/db* &amp;&amp;
76chown -R root:root /usr/share/doc/db-&db-version;</command></userinput></screen>
77
78</sect2>
79
80<sect2>
81<title>Command explanations</title>
82
83<para><command>cd build_unix &amp;&amp;
84../dist/configure --prefix=/usr...</command>:
85This replaces the normal <command>./configure</command> command, as
86<application>Berkeley DB</application> comes with various
87build directories for different platforms.</para>
88
89<para><parameter>--enable-compat185</parameter>: This switch enables
90building DB 1.85 compatibility <acronym>API</acronym>.</para>
91
92<para><parameter>--enable-cxx</parameter>: This switch enables building
93C++ <acronym>API</acronym> libraries.</para>
94
95<para><command>make LIBSO_LIBS="-lpthread"
96LIBXSO_LIBS="-lpthread"</command>: <command>configure</command> does not
97correctly handle <acronym>NPTL</acronym>. These variables force it to
98properly link against <acronym>NPTL</acronym>.</para>
99
100<para><command>make docdir=/usr/share/doc/db-&db-version;
101install</command>: This installs the documentation in
102the correct place.</para>
103
104<para><option>--enable-test</option>: Enables building the test suite
105(requires the two Tcl switches below).</para>
106
107<para><option>--enable-tcl --with-tcl=/usr/lib</option>:
108Enables <application>Tcl</application> support in DB and creates the
109<filename class="libraryfile">libdb_tcl</filename> libraries.</para>
110
111<para><option>--enable-java</option>: Enables <application>Java</application>
112support in DB and creates the
113<filename class='libraryfile'>libdb_java</filename> libraries.</para>
114
115<para><option>--enable-rpc</option>: Enables building the
116<application>Berkeley DB</application> <acronym>RPC</acronym> server.</para>
117
118</sect2>
119
120<sect2>
121<title>Contents</title>
122
123<segmentedlist>
124<segtitle>Installed Programs</segtitle>
125<segtitle>Installed Libraries</segtitle>
126<segtitle>Installed Directory</segtitle>
127
128<seglistitem>
129<seg>berkeley_db_svc, db_archive, db_checkpoint, db_deadlock, db_dump,
130db_load, db_printlog, db_recover, db_stat, db_upgrade and db_verify</seg>
131<seg>libdb.[so,a], libdb_cxx.[so,a], libdb_java.[so,a] and
132libdb_tcl.[so,a]</seg>
133<seg>/usr/share/doc/db-&db-version;</seg>
134</seglistitem>
135</segmentedlist>
136
137<variablelist>
138<bridgehead renderas="sect3">Short Descriptions</bridgehead>
139<?dbfo list-presentation="list"?>
140
141<varlistentry id="berkeley_db_svc">
142<term><command>berkeley_db_svc</command></term>
143<listitem><para>is the <application>Berkeley DB</application>
144<acronym>RPC</acronym> server.</para>
145<indexterm zone="db berkeley_db_svc">
146<primary sortas="b-berkeley_db_svc">berkeley_db_svc</primary>
147</indexterm></listitem>
148</varlistentry>
149
150<varlistentry id="db_archive">
151<term><command>db_archive</command></term>
152<listitem><para>prints the pathnames of log files that are no longer in
153use.</para>
154<indexterm zone="db db_archive">
155<primary sortas="b-db_archive">db_archive</primary>
156</indexterm></listitem>
157</varlistentry>
158
159<varlistentry id="db_checkpoint">
160<term><command>db_checkpoint</command></term>
161<listitem><para>is a daemon process used to monitor and checkpoint database
162logs.</para>
163<indexterm zone="db db_checkpoint">
164<primary sortas="b-db_checkpoint">db_checkpoint</primary>
165</indexterm></listitem>
166</varlistentry>
167
168<varlistentry id="db_deadlock">
169<term><command>db_deadlock</command></term>
170<listitem><para>is used to abort lock requests when deadlocks are
171detected.</para>
172<indexterm zone="db db_deadlock">
173<primary sortas="b-db_deadlock">db_deadlock</primary>
174</indexterm></listitem>
175</varlistentry>
176
177<varlistentry id="db_dump">
178<term><command>db_dump</command></term>
179<listitem><para>converts database files to a flat file format readable by
180<command>db_load</command>.</para>
181<indexterm zone="db db_dump">
182<primary sortas="b-db_dump">db_dump</primary>
183</indexterm></listitem>
184</varlistentry>
185
186<varlistentry id="db_load">
187<term><command>db_load</command></term>
188<listitem><para>is used to create database files from flat files created with
189<command>db_dump</command>.</para>
190<indexterm zone="db db_load">
191<primary sortas="b-db_load">db_load</primary>
192</indexterm></listitem>
193</varlistentry>
194
195<varlistentry id="db_printlog">
196<term><command>db_printlog</command></term>
197<listitem><para>converts database log files to human readable text.</para>
198<indexterm zone="db db_printlog">
199<primary sortas="b-db_printlog">db_printlog</primary>
200</indexterm></listitem>
201</varlistentry>
202
203<varlistentry id="db_recover">
204<term><command>db_recover</command></term>
205<listitem><para>is used to restore a database to a consistent state after a
206failure.</para>
207<indexterm zone="db db_recover">
208<primary sortas="b-db_recover">db_recover</primary>
209</indexterm></listitem>
210</varlistentry>
211
212<varlistentry id="db_stat">
213<term><command>db_stat</command></term>
214<listitem><para>displays database environment statistics.</para>
215<indexterm zone="db db_stat">
216<primary sortas="b-db_stat">db_stat</primary>
217</indexterm></listitem>
218</varlistentry>
219
220<varlistentry id="db_upgrade">
221<term><command>db_upgrade</command></term>
222<listitem><para>is used to upgrade database files to a newer version of
223<application>Berkeley DB</application>.</para>
224<indexterm zone="db db_upgrade">
225<primary sortas="b-db_upgrade">db_upgrade</primary>
226</indexterm></listitem>
227</varlistentry>
228
229<varlistentry id="db_verify">
230<term><command>db_verify</command></term>
231<listitem><para>is used to run consistency checks on database files.</para>
232<indexterm zone="db db_verify">
233<primary sortas="b-db_verify">db_verify</primary>
234</indexterm></listitem>
235</varlistentry>
236</variablelist>
237
238</sect2>
239
240</sect1>
Note: See TracBrowser for help on using the repository browser.