比特币版本是 bitcoin-0.12
问题1:
[root@localhost bitcoin-master]# ./autogen.sh 
which: no autoreconf in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin)
configuration failed, please install autoconf first
[root@localhost bitcoin-master]# yum install autoconf automake libtool
 
问题2:
checking whether the C++ compiler works... no
configure: error: in `/home/ljw/bitcoin-master':
configure: error: C++ compiler cannot create executables
See `config.log' for more details
[root@localhost bitcoin-master]# yum install gcc-c++
 
问题3:
checking for Berkeley DB C++ headers... no
configure: error: libdb_cxx headers missing, Bitcoin Core requires this library 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/"
 
问题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
 
问题5:
checking for SSL... no
configure: error: openssl  not found.
[root@localhost bitcoin-master]# yum install openssl-devel
 
问题6:
checking for EVENT... no
configure: error: libevent not found.
[root@localhost bitcoin-master]# yum install libevent-devel
 
//可能有效的库
sudo dnf install gcc-c++ libtool make autoconf automake openssl-devel libevent-devel boost-devel libdb4-devel libdb4-cxx-devel
 
 
来自redhat的错误,当安装lievent时的错误处理
问题1:
checking for EVENT... no
configure: error: libevent not found.
解决:
tar -zxvf libevent-2.0.19-stable.tar.gz
cd libevent-2.0.19-stable/
./configure
make && make install
此时会生成libevent.pc在本地目录。拷贝到pkgconfig目录下。
[root@c04502 libevent-release-2.1.7-rc] cp ./libevent.pc /usr/share/pkgconfig/.
 
 
问题2:
configure: error: libevent_pthreads not found.
解决:
[root@c04502 libevent-release-2.1.7-rc] cp ./libevent_pthreads.pc /usr/share/pkgconfig/.
 
 
问题3:
对于m4_pattern_allow的问题 (低版本的redhat的可能会出现的问题)
去configure.ac中屏蔽掉对应的语句即可,但是这也会导致后续的库的链接的问题,具体出现在.confiugre中,需要指定添加了boost和openssl的库的路径。
所以不推荐使用低版本的redhat作为运行机器。

centos7和redhat7的比特币环境搭建的更多相关文章

  1. centos7下Maven Java selenium3环境搭建

    centos7下Maven Java selenium3环境搭建 一.Jdk安装 我这里用的是open-jdk. [adawang@localhost src]$ sudo yum search op ...

  2. CentOS7下Hadoop伪分布式环境搭建

    CentOS7下Hadoop伪分布式环境搭建 前期准备 1.配置hostname(可选,了解) 在CentOS中,有三种定义的主机名:静态的(static),瞬态的(transient),和灵活的(p ...

  3. Centos7下Java开发基本环境搭建

    一.Centos7安装JDK 首先查看自己的机器上是否已经自带openjdk,命令如下: rpm -qa | grep jdk 如果存在,则按照如下命令进行依次卸载: yum -y remove fi ...

  4. PHP + Nginx 在 Linux(centos7)系统下的环境搭建

    ( 选用的操作系统为 centos7 ) 01,安装 nginx => 请移步 https://www.cnblogs.com/lovling/p/9197572.html 02,下载 php  ...

  5. vmware workstation11+centos7+lnmp一键安装包 环境搭建

    vmware workstation11 1.下载:http://pan.baidu.com/s/1gecipOJ 2.安装:直接下一步. centos7 1.下载:网易镜像 http://mirro ...

  6. 基于Centos7的autobahn-python+crossbar的环境搭建

    一.基于centos7的crossbar安装(已经安装好python) (1) sudo yum update (2) sudo yum install gcc gcc-c++ make openss ...

  7. PHP + Apache 在 Linux(centos7)系统下的环境搭建,基于 yum

    (本文采用的是 Centos7 的操作系统,简单起见,以下全部采用 yum 安装,有这么好用的东西为什么要自己去一个一个编译呢) 1, 安装 Apache  => yum -y install ...

  8. centos7:storm集群环境搭建

    1.安装storm 下载storm安装包 在线下载 wget http://apache.fayea.com/storm/apache-storm-1.1.1/apache-storm-1.1.1.t ...

  9. centos7系统nginx下phalcon环境搭建

    之前我们采用的是Apache服务器,可是每秒响应只能达到2000,听说nginx可以轻易破万, 于是换成nginx试试. phalcon的官网有nginx重写规则的示例,可是却与apache的不一致, ...

随机推荐

  1. github私有库购买信息

    github私有库购买信息      一年84美元. 换算成人民币是:532元.   话说其他开发者都买了么?    

  2. 【Codeforces 827B】High Load

    [链接] 我是链接,点我呀:) [题意] 题意 [题解] 树的最长链是一定会经过两个叶子节点的. 我们可以构造一棵树,让最后的最长链一定是由经过根节点的两条链组成. 然后让这两条链的长度尽可能短就好. ...

  3. $config['base_url'] BASE_URL

    /*|------------------------------------------------| Base Site URL|--------------------------------- ...

  4. python--如何在线上环境优雅的修改配置文件?

    1.如何在线上环境优雅的修改配置文件? 原配置文件 #原配置文件 global log 127.0.0.1 local2 daemon maxconn 256 log 127.0.0.1 local2 ...

  5. bzoj 1700 Problem Solving 解题 dp

    [Usaco2007 Jan]Problem Solving 解题 Time Limit: 5 Sec  Memory Limit: 64 MBSubmit: 492  Solved: 288[Sub ...

  6. ES6__class 的继承等相关知识案例

    /** * class 的继承等相关知识 */ // extends. static. super const canvas = document.querySelector('#canvas'); ...

  7. msp430项目编程30

    msp430中项目---电压检测系统 1.SVS工作原理 2.电路工作原理 3.代码(显示部分) 4.代码(功能实现) 5.项目总结

  8. CritterAI与Recast Navigation寻路

    版权声明:本文为博主吴欣伟原创文章,未经博主允许不得转载. 前言 这篇文章写于去年,由于工作需要,故写出这个研究文档,发现网上有关此寻路库的中文资源十分稀少,故发布出来与诸位共享交流,如文中有不对之处 ...

  9. Flex4分模块下样式动态加载步骤及相关问题的解决

    1.  给应用程序编写CSS文件 (1)在项目下创建CSS文件(任意路径,可以多个).本例在src下创建了5个样式文件 (2)Flex支持的CSS文件定义如下: a)  type selector(类 ...

  10. controller跳到另一个controller

    1.无参数: return "redirect:park/findByTag"; 2/有参数: public String addChild(Model model2) model ...