Compiling berkeley db 4.3
Berkeley DB 4.3 can be downloaded from www.sleepycat.com. The following instructions can be used to compile and install it on Solaris.
tar xf db-4.3.28.NC.tar.gz
cd db-4.3.28.NC/build_unix
../dist/configure --prefix=/work/db
make
make install
My PATH is defined in ~/.bash_profile as follows
PATH=/opt/SUNWspro/bin:/opt/onbld/bin:/usr/sfw/bin:/usr/ccs/bin:$PATH
The /usr/ccs/bin dir contains all the SUN link time commands(ld, ar etc). So thats needs to be there in the PATH. (/usr/sfw/bin contains all those utilities but they are named gld, gar etc to specify their gnu roots. SUN did a good think doing that. This separates out all the utilities cleanly).
tar xf db-4.3.28.NC.tar.gz
cd db-4.3.28.NC/build_unix
../dist/configure --prefix=/work/db
make
make install
My PATH is defined in ~/.bash_profile as follows
PATH=/opt/SUNWspro/bin:/opt/onbld/bin:/usr/sfw/bin:/usr/ccs/bin:$PATH
The /usr/ccs/bin dir contains all the SUN link time commands(ld, ar etc). So thats needs to be there in the PATH. (/usr/sfw/bin contains all those utilities but they are named gld, gar etc to specify their gnu roots. SUN did a good think doing that. This separates out all the utilities cleanly).
0 Comments:
Post a Comment
<< Home