CentOS7 QTUM install

in centos7 •  7 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
Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!