The version 5 works as well so if needed and the makefile is not using the BDB 5 edit the makefile.unix to change it close to what I have below reflecting the version in your distro do a search on the libdb_cxx-?.?.a file included in the -dev package for the exact name you need to replace with. And yes the apt-get should be sudo, the warning was about using a higher version of the BDB say like version 5 then trying to use the wallet.dat on a version compiled with version 4 they are not backward compatible..
LIBS= -dead_strip \
$(DEPSDIR)/lib/libdb_cxx-5.1.a \
Sorry about the delay. Got it. The new client sure is pretty, thanks for that, and your help.