mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-06 09:07:30 +08:00
703bb723a8
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@856 af4574ff-66df-0310-9fd7-8a98e5e911e0
20 lines
668 B
XML
20 lines
668 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 &&
|
|
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</userinput></screen></para>
|
|
|
|
</sect2>
|
|
|