比特币版本是 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. 关于构造函数什么值传递给他的实例,只有this和prototype

    var a= function (){var bb = 12; this.aa ="xxx"}; a.aa="www"; a.prototype.cc=&quo ...

  2. 实现List集合中数据逆序排列

    Collections.reverse(list); 实现list集合逆序排列

  3. Leetcode 229.求众数II

    求众数II 给定一个大小为 n 的数组,找出其中所有出现超过 ⌊ n/3 ⌋ 次的元素. 说明: 要求算法的时间复杂度为 O(n),空间复杂度为 O(1). 示例 1: 输入: [3,2,3] 输出: ...

  4. zoj 2807 Electrical Outlets

    Electrical Outlets Time Limit: 2 Seconds      Memory Limit: 65536 KB Roy has just moved into a new a ...

  5. UITableView点击背景

    系统自定义的点击背景有时间觉得效果不好想换个 - (void)setSelected:(BOOL)selected animated:(BOOL)animated { [super setSelect ...

  6. 2016阿里校招python研发面试

    一面: 面:说说你们学校的主修课程. 学校开的全是尼玛java课,这个我是想了有一会的. 面:看你简历写了会jquery,来问你个简单的jquery问题 :jQuery支不支持css引入. 呵呵 面: ...

  7. 【同余】HDU 6108 小C的倍数问题

    http://acm.hdu.edu.cn/showproblem.php?pid=6108 [题意] 给定进制P,求有多少个B满足P进制下,一个正整数是B的倍数的充分必要条件是每一位加起来的和是B的 ...

  8. maven之发布项目到nexus【clean deploy命令】

    原文:http://m.blog.csdn.net/article/details?id=49667971 当我们的项目开发完成以后,可能要进行发布(如果是独立的项目,就不需要发布啦,如果是模块项目, ...

  9. curl -s 不输出统计信息

    curl -s 不输出统计信息 学习了:https://blog.csdn.net/qinyushuang/article/details/44114583

  10. vim配置为IDE环境(超详细,极力推荐 git)

    https://github.com/yangyangwithgnu/use_vim_as_ide 1. 用法 git clone https://github.com/VundleVim/Vundl ...