cd build_unix ../dist/configure make make install (usr/local/BerkeleyDB.5.2 にインストールされる) /usr/include/db.h, db_cxx.h のリンクを張りなおす