This wiki is obsolete, see the NorduGrid web pages for up to date information.

Building Berkeley DB

From NorduGrid
Jump to navigationJump to search


NOTE: This page is out of date and is kept for purely historical reasons.

Building Berkeley DB for UNIX/POSIX systems

ARC1 depends on Berkeley DB; below are instructions on how to build it for UNIX/POSIX systems.

Berkeley DB source code:

Berkeley DB configure:

bash-2.05$ cd build_unix/
bash-2.05$ ../dist/configure --enable-cxx  --enable-debug --prefix=/home/roczei/db47

ARC1 configure:

bash-2.05$ ./configure --prefix="/home/roczei/arc1"   --with-dbcxx-include="/home/roczei/db47/include" LDFLAGS="-L/home/roczei/db47/lib"
checking for a BSD-compatible install... /opt/sfw/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /opt/sfw/bin/gmkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking for C++ compiler default output file name.