well, i got curious and tried what you got going.. im also new to this and learned alot in the last year.. i got stuck at this point. .... and this is using 5.1
iribm@siribm:~/db-5.1.29.NC$ wget '
http://download.oracle.com/berkeley-db/db-5.1.29.NC.tar.gz'
--2016-01-12 20:30:32--
http://download.oracle.com/berkeley-db/db-5.1.29.NC.tar.gzResolving download.oracle.com (download.oracle.com)... 96.6.45.99, 23.61.195.115
Connecting to download.oracle.com (download.oracle.com)|96.6.45.99|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 32150353 (31M) [application/x-gzip]
Saving to: ‘db-5.1.29.NC.tar.gz’
db-5.1.29.NC.tar.gz 100%[=====================>] 30.66M 2.12MB/s in 14s
2016-01-12 20:30:46 (2.24 MB/s) - ‘db-5.1.29.NC.tar.gz’ saved [32150353/32150353
and i sudo .. using xubuntu 15.10
siribm@siribm:~/db-5.1.29.NC/build_unix$ sudo make install
Installing DB include files: /include ...
Installing DB library: /lib ...
libtool: install: cp -p libdb-5.1.a /lib/libdb-5.1.a
libtool: install: chmod 644 /lib/libdb-5.1.a
libtool: install: ranlib /lib/libdb-5.1.a
libtool: install: cp -p libdb.a /lib/libdb.a
libtool: install: chmod 644 /lib/libdb.a
libtool: install: ranlib /lib/libdb.a
libtool: install: cp -p libdb_cxx-5.1.a /lib/libdb_cxx-5.1.a
libtool: install: chmod 644 /lib/libdb_cxx-5.1.a
libtool: install: ranlib /lib/libdb_cxx-5.1.a
libtool: install: cp -p libdb_cxx.a /lib/libdb_cxx.a
libtool: install: chmod 644 /lib/libdb_cxx.a
libtool: install: ranlib /lib/libdb_cxx.a
Installing DB utilities: /bin ...
libtool: install: cp -p db_archive /bin/db_archive
libtool: install: cp -p db_checkpoint /bin/db_checkpoint
libtool: install: cp -p db_deadlock /bin/db_deadlock
libtool: install: cp -p db_dump /bin/db_dump
libtool: install: cp -p db_hotbackup /bin/db_hotbackup
libtool: install: cp -p db_load /bin/db_load
libtool: install: cp -p db_log_verify /bin/db_log_verify
libtool: install: cp -p db_printlog /bin/db_printlog
libtool: install: cp -p db_recover /bin/db_recover
libtool: install: cp -p db_replicate /bin/db_replicate
libtool: install: cp -p db_stat /bin/db_stat
libtool: install: cp -p db_upgrade /bin/db_upgrade
libtool: install: cp -p db_verify /bin/db_verify
Installing documentation: /docs ...
siribm@siribm:~/db-5.1.29.NC/build_unix$ cd $BITCOIN_ROOT
siribm@siribm:~$ ./autogen.sh
bash: ./autogen.sh: No such file or directory
hummmm?? no autogen