mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-10 04:54:44 +08:00
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@855 af4574ff-66df-0310-9fd7-8a98e5e911e0
20 lines
754 B
XML
20 lines
754 B
XML
<sect2>
|
|
<title>Installation of db-&db-3.3-version;</title>
|
|
|
|
<para>Install db-&db-3.3-version; by running the following commands:</para>
|
|
|
|
<para><screen><userinput>cd build_unix &&
|
|
../dist/configure --prefix=/opt/db-3.3 --enable-compat185 \
|
|
--enable-static --enable-shared &&
|
|
make docdir=/opt/db-3.3/doc/Berkeley-DB all install &&
|
|
cd /opt/db-3.3/lib/ &&
|
|
ln -sf libdb-3.3.a libdb.a &&
|
|
mv libdb-3*so /usr/lib &&
|
|
sed 's/^DB185/DB/' /opt/db-3.3/include/db_185.h > /opt/db-3.3/include/db_185.h.new &&
|
|
mv /opt/db-3.3/include/db_185.h.new /opt/db-3.3/include/db_185.h &&
|
|
install -d /usr/include/db3 &&
|
|
mv /opt/db-3.3/include/* /usr/include/db3</userinput></screen></para>
|
|
|
|
</sect2>
|
|
|