CentOS7 QTUM install

in #centos77 years ago (edited)

CentOS + QTUM install guide

download and reference url : https://github.com/qtumproject/qtum/releases

env

centos : CentOS Linux release 7.4.1708 (Core) (64bit)
boost : 1.59
openssl : OpenSSL 1.0
caution : check openSSL version (libssl1.0)

troubleshoot list

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
Sort:  

Congratulations @rainboxer7, you have decided to take the next big step with your first post! The Steem Network Team wishes you a great time among this awesome community.


Thumbs up for Steem Network´s strategy

The proven road to boost your personal success in this amazing Steem Network

Do you already know that awesome content will get great profits by following these simple steps, that have been worked out by experts?

Coin Marketplace

STEEM 0.21
TRX 0.25
JST 0.038
BTC 97145.06
ETH 3407.23
USDT 1.00
SBD 3.14