Download the Berkely db
[root@test]tar -zxvf db-5.3.21.tar.gz [root@test]cd db-5.3.21 ./configure --prefix=/usr/local/bkdb --enable-compat185 --enable-dbm --disable-static --enable-cxx checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking if building in the top-level or dist directories... yes configure: error: Berkeley DB should not be built in the "dist" directory. Change directory to the build_unix directory and run ../dist/configure from there. [root@test] cd build_unix && ../dist/configure --prefix=/usr/local/bkdb --enable-compat185 --enable-dbm --disable-static --enable-cxx [root@test]make docdir=/usr/local/bkdb install Installing documentation: /usr/local/bkdb
Berkely db is installed perfectly now.
No comments:
Post a Comment