mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-08 18:47:25 +08:00
00a75b0e1a
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1500 af4574ff-66df-0310-9fd7-8a98e5e911e0
22 lines
876 B
XML
22 lines
876 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>cd build_unix &&
|
|
../dist/configure --prefix=/usr \
|
|
--enable-compat185 \
|
|
--enable-cxx &&
|
|
make &&
|
|
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 an
|
|
appropriate compiler such as Java enabled GCC.
|
|
<application>Java</application> support is needed
|
|
if you plan to use system installed <application>Berkeley DB</application> when
|
|
compiling <application>OpenOffice</application>.</para></note>
|
|
|
|
</sect2>
|