@Bitock, here is a post from a user (sovereignindividual) on Reddit.
this procedure worked for me:
if you don’t download and install Berkeley db 4.8 you will get an error during configure like this:
configure: error: Found Berkeley DB other than 4.8, required for portable wallets
so, install it as follows:
wget
http://download.oracle.com/berkeley-db/db-4.8.30.NC.tar.gztar -xzvf db-4.8.30.NC.tar.gz
cd db-4.8.30.NC/build_unix
../dist/configure --enable-cxx
make
sudo make install
then you need to make a couple of symlinks so that the make process and resulting wallet can find this version of the DB:
sudo ln -s /usr/local/BerkeleyDB.4.8/lib/libdb-4.8.so /usr/lib/libdb-4.8.so
sudo ln -s /usr/local/BerkeleyDB.4.8/lib/libdb_cxx-4.8.so /usr/lib/libdb_cxx-4.8.so
Next get the system ready to build the wallet (i hope, but cannot promise, that this list is complete, as I have been compiling other wallets as well. If not you will soon find out what's missing...):
sudo apt-get install qt4-qmake libqt4-dev build-essential \
libboost-dev libboost-system-dev libboost-filesystem-dev \
libboost-program-options-dev libboost-thread-dev \
libssl-dev build-essential libtool autotools-dev autoconf \
protobuf-compiler libboost-all-dev
download and extract the v2.9.1 tar.gz package from here.
cd to the extracted directory, then
cd src/qt
protoc --cpp_out=./ paymentrequest.proto
cd ../../
the regeneration step above is important or else the compile will fail horribly.
once back in the main directory:
./autogen.sh
./configure CPPFLAGS="-I/usr/local/BerkeleyDB.4.8/include -O2" LDFLAGS="-L/usr/local/BerkeleyDB.4.8/lib"
make
after a LONG build process, the wallet binary is "digibyte-qt" to be found in src/qt
to make it like it "used to be" I copy it out to the root of the extracted folder
cp src/qt/digibyte-qt .
As I've said in another comment, the digibyte-qt binary builds as a elf shared library (approx 100mb, even when stripped) instead of an elf executable, which can be seen using the file command. Whether it builds this way because of something incorrectly set up on my system, I am unable to say, but I don't see how.
Whatever the case, the digibyte code is significantly different to 2.0 which I built on my old ubuntu (raring), which I cannot seem to do again.
If I have been doing this wrong, I'll be glad to be set on the right path.
Regards.