CentOS + QTUM install guide
<p dir="auto"><span>download and reference url : <a href="https://github.com/qtumproject/qtum/releases" target="_blank" rel="nofollow noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">https://github.com/qtumproject/qtum/releases
<h1>env
<pre><code>centos : CentOS Linux release 7.4.1708 (Core) (64bit)
boost : 1.59
openssl : OpenSSL 1.0
caution : check openSSL version (libssl1.0)
<h1>troubleshoot list
<pre><code>error
key.cpp:149:19: error: invalid use of incomplete type ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’
if (BN_cmp(sig->s, halforder) > 0) {
In file included from /usr/local/include/openssl/ecdsa.h:10:0,
from key.cpp:17:
…
solution
https://github.com/qtumproject/qtum/issues/382
$ yum install libssl1.0-dev
error : configuration failed, please install autoconf first
solution : #yum install autoconf
error : Can't exec "aclocal": No such file or directory at /usr/share/autoconf/Autom4te/FileUtils.pm
solution : #yum install automake
error : Libtool library used but 'LIBTOOL' is undefined
solution : #yum install libtool
error : C++ compiler cannot create executables
solution : yum install gc gcc++ *gcc-c++*
error : libdb_cxx headers missing
solution
#wget http://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/l/libdb4-4.8.30-13.el7.x86_64.rpm
#wget http://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/l/libdb4-devel-4.8.30-13.el7.x86_64.rpm
#wget http://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/l/libdb4-cxx-4.8.30-13.el7.x86_64.rpm
#wget http://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/l/libdb4-cxx-devel-4.8.30-13.el7.x86_64.rpm
#rpm -ivh libdb4-4.8.30-13.el7.x86_64.rpm
#rpm -ivh libdb4-devel-4.8.30-13.el7.x86_64.rpm
#rpm -ivh libdb4-cxx-4.8.30-13.el7.x86_64.rpm
#rpm -ivh libdb4-cxx-devel-4.8.30-13.el7.x86_64.rpm
error : No working boost sleep implementation found.
solution : #yum install boost-devel
error :
checking for SSL... no
configure: error: openssl not found.
solution :
#Wget http://www.openssl.org/source/openssl-1.0.1i.tar.gz
#tar -zxf openssl-1.0.1i.tar.gz
#cd ./openssl-1.0.1i
#./config --prefix=/usr --openssldir=/usr/local/openssl shared
#make && make install
error : configure: error: libevent not found.
solution : yum install libevent-devel
error : /usr/include/boost/optional/optional.hpp:346:8: error: use of deleted function
solution : boost version is too low.
check boost version.
#cat /usr/include/boost/version.hpp | grep "BOOST_LIB_VERSION"
#wget http://repo.enetres.net/enetres.repo -O /etc/yum.repos.d/enetres.repo
#wget ftp://fr2.rpmfind.net/linux/Mandriva/official/2010.0/x86_64/media/main/release/lib64icu42-4.2.1- 1mdv2010.0.x86_64.rpm
#rpm -ivh lib64icu42-4.2.1-1mdv2010.0.x86_64.rpm
#yum install boost-devel