Open jaronfitz opened 7 years ago
libdb4.8 is far out of date but still required. wget http://archive.ubuntu.com/ubuntu/pool/main/d/db4.8/db4.8_4.8.30.orig.tar.gz
unzip it and cd db-4.8.30/build_unix ../dist/configure --prefix=/usr/local --enable-cxx make make install
vim ~/digitalcoin/src/m4/bitcoin_find_bdb48.m4 on the 7th line down change "bdbdirlist=X" to bdbdirlist=/usr/local/lib/libdb-4.8.so
credit to https://github.com/bitcoin/bitcoin/commit/8b08d95 vim ~/digitalcoin/src/rpcrawtransaction.cpp change line 299 old: const CScriptID& hash = boost::get<const CScriptID&>(address); new: const CScriptID& hash = boost::get(address);
Then go back to your digitalcoin directory and you can finally make
There are probably better/more efficient ways of fixing this. This is just one workaround I figured out.
other bdb's can be used. i use 5.1 personally. but 4.8 is the standard, its portable to all versions of clients. thats why its used
libdb4.8 is far out of date but still required. wget http://archive.ubuntu.com/ubuntu/pool/main/d/db4.8/db4.8_4.8.30.orig.tar.gz
unzip it and cd db-4.8.30/build_unix ../dist/configure --prefix=/usr/local --enable-cxx make make install
vim ~/digitalcoin/src/m4/bitcoin_find_bdb48.m4 on the 7th line down change "bdbdirlist=X" to bdbdirlist=/usr/local/lib/libdb-4.8.so
credit to https://github.com/bitcoin/bitcoin/commit/8b08d95 vim ~/digitalcoin/src/rpcrawtransaction.cpp change line 299 old: const CScriptID& hash = boost::get<const CScriptID&>(address); new: const CScriptID& hash = boost::get(address);
Then go back to your digitalcoin directory and you can finally make
There are probably better/more efficient ways of fixing this. This is just one workaround I figured out.