Current Quarkcoin sources have a bug if compiling with Boost 1.58 libraries, getting a error like this:
/usr/include/boost/variant/get.hpp:178:5: error: invalid application of 'sizeof' to incomplete type 'boost::STATIC_ASSERTION_FAILURE<false>
For Boost 1.58, a modification is needed in src/rpctransaction.cpp at line 299 where
const CScriptID& hash = boost::get<const CScriptID&>(address);
should be
const CScriptID& hash = boost::get<CScriptID>(address);
Make sure your packages aren't too old, do a dist-upgrade to newer Ubuntu version first to get newer packages.
I'm compiling well on Debian 9 with parameter
--with-incompatible-bdb, having installed
db5.3 and
db5.3++ libraries and their dev packages
db5.3-dev &
db5.3++-dev.
Compile in next order, if building is done with autotools:
./autogen.sh
./configure --with-incompatible-bdb
make
After compilation the completed build is found at /quark/src/ in this case. Stripping the freshly built binaries is advised, some makefiles will include stripping though.
Then move binaries to location where want to run them from, f.e. coin's base directory.
I've had successful wallets builds with BDB 5.1, but recommend to use known working BDB 4.8 manual build or 5.3 from repositories.
Heard that 5.1 had problems, 4.8 does work with old wallets, 5.3 works with incompatible bdb parameter.
BDB 4.8 manual install, install for example under /opt:
wget http://download.oracle.com/berkeley-db/db-4.8.30.NC.tar.gz
tar -xvf db-4.8.30.NC.tar.gz
cd db-4.8.30.NC/build_unix
mkdir -p build
BDB_PREFIX=$(pwd)/build
../dist/configure --disable-shared --enable-cxx --with-pic --prefix=$BDB_PREFIX
make install