Centos7 and REDHAT7 's bit-currency environment

Source: Internet
Author: User
Tags install openssl openssl automake
The Bitcoin version is bitcoin-0.12 issue 1: [Root@localhost bitcoin-master]#./autogen.sh which:no autoreconf in (/usr/local/sbin:/usr/loc Al/bin:/usr/sbin:/usr/bin:/root/bin) configuration failed, please install autoconf a [root@localhost bitcoin-master]# Yum install autoconf automake libtool
Problem 2:checking whether the C + + compiler works ... no configure:error:in '/home/ljw/bitcoin-master ': configure:error:c++ Compiler cannot create executables ' config.log ' for more details [root@localhost bitcoin-master]# yum Install-gcc-c++
Problem 3:checking for Berkeley DB C + + headers ... no configure:error:libdb_cxx headers missing, Bitcoin Core requires this Li Brary for Wallet functionality (--disable-wallet to disable wallet functionality) [Root@localhost ljw]# CD Db-4.8.30/build _unix/[Root@localhost build_unix]#. /dist/configure--enable-cxx [root@localhost build_unix]# make [root@localhost build_unix]# make install [ Root@localhost db-4.8.30]# cd/home/ljw/bitcoin-master [root@localhost bitcoin-master]#./configure LDFLAGS=]-L/usr/ local/berkeleydb.4.8/lib/"cppflags="-i/usr/local/berkeleydb.4.8/include/"
Problem 4:configure:error:no working boost sleep implementation found. [Root@localhost ljw]# cd boost_1_63_0 [root@localhost boost_1_63_0]#./bootstrap.sh] [root@localhost boost_1_63_0]#./ Bjam Install
Problem 5:checking for SSL ... no configure:error:openssl not found. [Root@localhost bitcoin-master]# Yum Install Openssl-devel
Problem 6:checking for EVENT ... no configure:error:libevent not found. [Root@localhost bitcoin-master]# Yum Install Libevent-devel
Potentially valid library sudo DNF install gcc-c++ libtool make autoconf automake openssl-devel libevent-devel boost-devel libdb4-devel Lib Db4-cxx-devel

Error from Redhat when installing lievent error handling 1:checking for EVENT ... no configure:error:libevent not found. WORKAROUND: TAR-ZXVF libevent-2.0.19-stable.tar.gz cd libevent-2.0.19-stable/./configure make && makes install generates LIBE at this time vent.pc in local directory. Copy to the Pkgconfig directory. [root@c04502 LIBEVENT-RELEASE-2.1.7-RC] CP./libevent.pc/usr/share/pkgconfig/.

Problem 2:configure:error:libevent_pthreads not found. Resolution: [root@c04502 LIBEVENT-RELEASE-2.1.7-RC] CP./libevent_pthreads.pc/usr/share/pkgconfig/.

Question 3: For the M4_pattern_allow problem (the Redhat of the lower version of the problem) to CONFIGURE.AC to block the corresponding statements can be, but this will also lead to subsequent links to the library problem, specifically in the. Confiugre, you need to specify Added the path of the boost and OpenSSL libraries. It is not recommended to use a redhat as a running machine.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.