One line code fix to compile against boost 1.58:
https://github.com/bitcoin/bitcoin/pull/6114/filesWorked on every wallet I've tried to compile on Ubuntu 16.04 with that problem. Simpler than installing different versions of boost, and requires less hacking of the Ubuntu system.
great hint! i had the same error for Joulecoin and Mooncoin:
rpcrawtransaction.cpp:299:71: required from here
/usr/include/boost/variant/get.hpp:178:5: error: invalid application of 'sizeof' to incomplete type 'boost::STATIC_ASSERTION_FAILURE<false>'
BOOST_STATIC_ASSERT_MSG(
^
CXX base58.o
Makefile:839: recipe for target 'rpcrawtransaction.o' failed
so under a modern ubuntu you can compile an old coin, when you apply the following command:
sed -i 's/<const\ CScriptID\&/<CScriptID/' rpcrawtransaction.cpp
( additionally, you need libdb4.8 instead of the new 5.1 / 5.3 version )