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 &&
|
2003-04-17 00:08:08 +08:00
|
|
|
../dist/configure --prefix=/opt/db-3.3 --enable-compat185 &&
|
|
|
|
make &&
|
|
|
|
make docdir=/opt/db-3.3/doc/Berkeley-DB install &&
|
2003-04-16 21:48:46 +08:00
|
|
|
cd /opt/db-3.3/lib/ &&
|
2003-04-17 00:08:08 +08:00
|
|
|
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</userinput></screen></para>
|
2002-12-15 13:19:37 +08:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|