2002-12-15 13:19:37 +08:00
|
|
|
<sect2>
|
2003-01-02 02:42:27 +08:00
|
|
|
<title>Installation of db-&db-3.3-version;</title>
|
2002-12-15 13:19:37 +08:00
|
|
|
|
2003-01-02 02:42:27 +08:00
|
|
|
<para>Install db-&db-3.3-version; by running the following commands:</para>
|
2002-12-15 13:19:37 +08:00
|
|
|
|
2003-02-02 00:23:28 +08:00
|
|
|
<para><screen><userinput>cd build_unix &&
|
2002-12-15 13:19:37 +08:00
|
|
|
../dist/configure --prefix=/usr --enable-compat185 \
|
|
|
|
--enable-static --enable-shared &&
|
|
|
|
make docdir=/usr/doc/Berkeley-DB all install &&
|
|
|
|
cd /usr/lib/ &&
|
|
|
|
ln -sf libdb-3.3.a libdb.a &&
|
|
|
|
sed 's/^DB185/DB/' /usr/include/db_185.h > /usr/include/db_185.h.new &&
|
2003-02-02 00:23:28 +08:00
|
|
|
mv /usr/include/db_185.h.new /usr/include/db_185.h</userinput></screen></para>
|
2002-12-15 13:19:37 +08:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|