Fresh Mint KDE 18.1 virtual machine, git cloned
https://github.com/aurarad/auroracoin/Did this:
sudo add-apt-repository ppa:bitcoin/bitcoin
sudo apt-get update
sudo apt-get install libdb4.8-dev libdb4.8++-dev
Running ./configure fails with this error:
configure: error: libdb_cxx headers missing
$ locate libdb_cxx
/usr/lib/libdb_cxx-4.8.a
/usr/lib/libdb_cxx-4.8.la
/usr/lib/libdb_cxx-4.8.so
/usr/lib/libdb_cxx-4.so
/usr/lib/libdb_cxx.a
/usr/lib/libdb_cxx.so
How to fix?
You're using the wrong DB. You can try:
./configure --with-incompatible-bdb
If that doesn't work:
cd auroracoin
BITCOIN_ROOT=$(pwd)
BDB_PREFIX="${BITCOIN_ROOT}/db5"
mkdir -p $BDB_PREFIX
wget 'http://download.oracle.com/berkeley-db/db-5.3.28.NC.tar.gz'
echo '08238e59736d1aacdd47cfb8e68684c695516c37f4fbe1b8267dde58dc3a576c db-5.3.28.NC.tar.gz' | sha256sum -c
tar -xzvf db-5.3.28.NC.tar.gz
cd db-5.3.28.NC/build_unix/
../dist/configure --enable-cxx --disable-shared --with-pic --prefix=$BDB_PREFIX
make install
cd $BITCOIN_ROOT
chmod +x autogen.sh
chmod +x share/genbuild.sh
chmod +x src/leveldb/build_detect_platform
./autogen.sh
./configure LDFLAGS="-L${BDB_PREFIX}/lib/" CPPFLAGS="-I${BDB_PREFIX}/include/"
make
Copy/paste one line at a time.
Edit: typos