2002-07-08 04:28:42 +08:00
|
|
|
<sect2>
|
2003-09-29 21:41:12 +08:00
|
|
|
<title>Installation of <application>Berkeley DB</application></title>
|
2002-07-08 04:28:42 +08:00
|
|
|
|
2003-09-29 21:41:12 +08:00
|
|
|
<para>Install <application>Berkeley DB</application> by running the following commands:</para>
|
2002-07-08 04:28:42 +08:00
|
|
|
|
2004-05-12 23:00:11 +08:00
|
|
|
<screen><userinput><command>patch -Np0 -i ../patch.4.2.52.1 &&
|
|
|
|
patch -Np0 -i ../patch.&db-version; &&
|
|
|
|
cd build_unix &&
|
2002-11-20 04:38:17 +08:00
|
|
|
../dist/configure --prefix=/usr \
|
|
|
|
--enable-compat185 \
|
2002-11-24 01:56:47 +08:00
|
|
|
--enable-cxx &&
|
2002-07-08 04:28:42 +08:00
|
|
|
make &&
|
2003-05-14 08:14:31 +08:00
|
|
|
make docdir=/usr/share/doc/db-&db-version; install</command></userinput></screen>
|
2003-11-13 13:38:19 +08:00
|
|
|
|
2003-05-14 08:14:31 +08:00
|
|
|
<note><para>If you wish to enable <application>Java</application>
|
2003-09-29 21:41:12 +08:00
|
|
|
support in <application>Berkeley DB</application>-&db-version;, add <command>
|
2004-02-02 04:16:52 +08:00
|
|
|
--enable-java</command> to the configure options. This requires a
|
|
|
|
Java compiler.
|
2003-05-14 08:14:31 +08:00
|
|
|
<application>Java</application> support is needed
|
2003-09-29 21:41:12 +08:00
|
|
|
if you plan to use system installed <application>Berkeley DB</application> when
|
2004-02-02 04:16:52 +08:00
|
|
|
compiling <xref linkend="openoffice"/>.</para></note>
|
2003-11-13 13:38:19 +08:00
|
|
|
|
2002-07-08 04:28:42 +08:00
|
|
|
</sect2>
|