mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-04 15:37:16 +08:00
317034ae40
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1238 af4574ff-66df-0310-9fd7-8a98e5e911e0
21 lines
713 B
XML
21 lines
713 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=/opt/db-3.3 --enable-compat185 &&
|
|
make &&
|
|
make docdir=/opt/db-3.3/doc/Berkeley-DB install &&
|
|
cd /opt/db-3.3/lib/ &&
|
|
rm -f libdb.so &&
|
|
for i in $(ls); do mv $i /usr/lib; ln -sf /usr/lib/$i; done &&
|
|
cd /opt/db-3.3/include/ &&
|
|
sed 's/^DB185/DB/' db_185.h > db_185.h.new &&
|
|
mv db_185.h.new db_185.h &&
|
|
ln -nsf /opt/db-3.3/include /usr/include/db3</command></userinput></screen>
|
|
|
|
</sect2>
|
|
|