glfs/content/databases/db/db-inst.xml
Igor Živković 47cf6a138e updated to bdb-4.2.52.2
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2144 af4574ff-66df-0310-9fd7-8a98e5e911e0
2004-05-12 15:00:11 +00:00

24 lines
924 B
XML

<sect2>
<title>Installation of <application>Berkeley DB</application></title>
<para>Install <application>Berkeley DB</application> by running the following commands:</para>
<screen><userinput><command>patch -Np0 -i ../patch.4.2.52.1 &amp;&amp;
patch -Np0 -i ../patch.&db-version; &amp;&amp;
cd build_unix &amp;&amp;
../dist/configure --prefix=/usr \
--enable-compat185 \
--enable-cxx &amp;&amp;
make &amp;&amp;
make docdir=/usr/share/doc/db-&db-version; install</command></userinput></screen>
<note><para>If you wish to enable <application>Java</application>
support in <application>Berkeley DB</application>-&db-version;, add <command>
--enable-java</command> to the configure options. This requires a
Java compiler.
<application>Java</application> support is needed
if you plan to use system installed <application>Berkeley DB</application> when
compiling <xref linkend="openoffice"/>.</para></note>
</sect2>