Closed AliAlGallaf closed 7 years ago
Prior to running ./configure, you need to run ./autogen.sh. Are you sure you have installed all dependencies - it looks like you're missing something related to Boost ? Here's a history recap from an install onto vanilla Ubuntu 16.04 (ignore the numbers - that's list the command line history tags):
72 sudo apt-get build-essential 73 sudo apt-get install build-essential 74 sudo apt-get install libtool autotools-dev autoconf 75 sudo apt-get install libssl-dev 76 sudo apt-get install libboost-all-dev 77 sudo add-apt-repository ppa:bitcoin/bitcoin 78 sudo apt-get update 79 sudo apt-get install db4.8 80 sudo apt-get install libdb4.8-dev 81 sudo apt-get install libdb4.8++-dev 82 sudo apt-get install libminiupnpc-dev 83 sudo apt-get install libqt4-dev libprotobuf-dev protobuf-compiler 84 sudo apt-get install libqrencode-dev 107 cd reddcoin 123 ./autogen.sh 125 ./configure 126 make 130 make install
Looking again you have this warning:
configure: WARNING: libprotobuf not found; bitcoin-qt frontend will not be built
That's Google Protocol Buffers. Please check you did this:
$ sudo apt-get install libqt4-dev libprotobuf-dev protobuf-compiler
Thanks @HenryYoung42. I can't find autogen.sh
in reddcoin's wallet source code folder. I installed all the dependencies mentioned in your post above but I'm still unable to successfully compile.
Here's what I'm getting right now:
$ sudo make
Making all in src
make[1]: Entering directory '/home/algallaf/Downloads/reddcoin-2.0.0.0-linux/src/reddcoin-2.0.0/src'
make all-recursive
make[2]: Entering directory '/home/algallaf/Downloads/reddcoin-2.0.0.0-linux/src/reddcoin-2.0.0/src'
Making all in .
make[3]: Entering directory '/home/algallaf/Downloads/reddcoin-2.0.0.0-linux/src/reddcoin-2.0.0/src'
CXX addrman.o
CXX alert.o
CXX bloom.o
CXX checkpoints.o
CXX coins.o
CXX init.o
CXX keystore.o
CXX kernel.o
CXX leveldbwrapper.o
CXX main.o
CXX miner.o
CXX net.o
CXX noui.o
CXX rpcblockchain.o
CXX rpcmining.o
CXX rpcmisc.o
CXX rpcnet.o
CXX rpcrawtransaction.o
In file included from /usr/include/boost/move/detail/type_traits.hpp:34:0,
from /usr/include/boost/move/core.hpp:54,
from /usr/include/boost/move/utility_core.hpp:29,
from /usr/include/boost/move/utility.hpp:28,
from /usr/include/boost/thread/detail/move.hpp:27,
from /usr/include/boost/thread/lock_types.hpp:11,
from /usr/include/boost/thread/pthread/mutex.hpp:16,
from /usr/include/boost/thread/mutex.hpp:16,
from allocators.h:13,
from serialize.h:9,
from bignum.h:9,
from chainparams.h:9,
from base58.h:17,
from rpcrawtransaction.cpp:6:
/usr/include/boost/variant/get.hpp: In instantiation of ‘typename boost::add_reference<T>::type boost::strict_get(boost::variant<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19>&) [with U = const CScriptID&; T0 = CNoDestination; T1 = CKeyID; T2 = CScriptID; T3 = boost::detail::variant::void_; T4 = boost::detail::variant::void_; T5 = boost::detail::variant::void_; T6 = boost::detail::variant::void_; T7 = boost::detail::variant::void_; T8 = boost::detail::variant::void_; T9 = boost::detail::variant::void_; T10 = boost::detail::variant::void_; T11 = boost::detail::variant::void_; T12 = boost::detail::variant::void_; T13 = boost::detail::variant::void_; T14 = boost::detail::variant::void_; T15 = boost::detail::variant::void_; T16 = boost::detail::variant::void_; T17 = boost::detail::variant::void_; T18 = boost::detail::variant::void_; T19 = boost::detail::variant::void_; typename boost::add_reference<T>::type = const CScriptID&]’:
/usr/include/boost/variant/get.hpp:284:25: required from ‘typename boost::add_reference<T>::type boost::get(boost::variant<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19>&) [with U = const CScriptID&; T0 = CNoDestination; T1 = CKeyID; T2 = CScriptID; T3 = boost::detail::variant::void_; T4 = boost::detail::variant::void_; T5 = boost::detail::variant::void_; T6 = boost::detail::variant::void_; T7 = boost::detail::variant::void_; T8 = boost::detail::variant::void_; T9 = boost::detail::variant::void_; T10 = boost::detail::variant::void_; T11 = boost::detail::variant::void_; T12 = boost::detail::variant::void_; T13 = boost::detail::variant::void_; T14 = boost::detail::variant::void_; T15 = boost::detail::variant::void_; T16 = boost::detail::variant::void_; T17 = boost::detail::variant::void_; T18 = boost::detail::variant::void_; T19 = boost::detail::variant::void_; typename boost::add_reference<T>::type = const CScriptID&]’
rpcrawtransaction.cpp:299:77: 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(
^
Makefile:756: recipe for target 'rpcrawtransaction.o' failed
make[3]: *** [rpcrawtransaction.o] Error 1
make[3]: Leaving directory '/home/algallaf/Downloads/reddcoin-2.0.0.0-linux/src/reddcoin-2.0.0/src'
Makefile:778: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/algallaf/Downloads/reddcoin-2.0.0.0-linux/src/reddcoin-2.0.0/src'
Makefile:573: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/algallaf/Downloads/reddcoin-2.0.0.0-linux/src/reddcoin-2.0.0/src'
Makefile:414: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
autogen.sh is here at the top level folder https://github.com/reddcoin-project/reddcoin It runs autoreconf for you, so I guess it's important for setting up your build environment.
Similar problem reported here: http://forum.feathercoin.com/topic/8057/dev-packaging-feathercoind-and-feathercoin-qt-on-linux/22
I downloaded the master reddcoin wallet project and ran sudo ./autogen.sh
This was the output that I got and I'm not really sure how this would help as I'm new to this.
$ sudo ./autogen.sh
[sudo] password for algallaf:
configure.ac:124: installing 'src/build-aux/compile'
configure.ac:12: installing 'src/build-aux/config.guess'
configure.ac:12: installing 'src/build-aux/config.sub'
configure.ac:37: installing 'src/build-aux/install-sh'
configure.ac:37: installing 'src/build-aux/missing'
configure.ac:711: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
configure.ac:711: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
src/Makefile.am: installing 'src/build-aux/depcomp'
configure.ac:711: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
configure.ac:711: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
parallel-tests: installing 'src/build-aux/test-driver'
configure.ac:711: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
That output looks ok. But you have to run some other things after this - from my previous update above let me remind you:
$ ./autogen.sh $ ./configure $ make $ make install
But if you just want to run the wallet app, why not download the executable from reddcoin.com ?
just ran the executable from reddcoin.com, thanks!
Below is the output when running
sudo ./configure
Below is the output for
sudo make