比特币版本是 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. codeforces 303 div2 E

    赤裸裸的最短路,需要注意下枚举过程就好了.直接贴上别人的代码,发现他的代码挺符合我的风格,以后就这样写了. #include <bits/stdc++.h> ]; ]; ]; ]; vec ...

  2. bzoj 3207 花神的嘲讽计划Ⅰ 主席树+hash

    花神的嘲讽计划Ⅰ Time Limit: 10 Sec  Memory Limit: 128 MBSubmit: 3112  Solved: 1086[Submit][Status][Discuss] ...

  3. CodeForces - 754B Ilya and tic-tac-toe game

    简单搜索 判断是否能在最后一步下棋得到胜利 问题转化为 是否有可以胜利的x的摆法 那么就只有两种情况 1.有两个x相连 并且 在端点还有.可以落子 那么就可以在最后一步 胜利 2.两个x中间恰好有一个 ...

  4. hdu2294:Pendant

    T<=10组数据问K<=30种珠子每种n<=1e9串成1~n长度的序列共有多少种,mod1234567891. 方程没想到.矩阵不会推.很好. f[i][j]--长度i,j种珠子方案 ...

  5. ubuntu 配置 samba, win7 map network device from linux

    一. samba的安装: # sudo apt-get insall samba # sudo apt-get install smbfs 二. 创建共享目录,或是找已经存在的文件夹,只要权限放开就行 ...

  6. Flex设置PopUpManager创建modal(模态)窗口的背景样式

    有一个需求 , 使用PopUpManager弹出的窗口modal模式不可操作的地方颜色太浅, 这样弹出的窗口就不够突出, 搜了下没发现解决办法, 翻看了PopUpManagerImpl源码 , 找到了 ...

  7. python 爬虫(转,我使用的python3)

      原文地址:http://blog.csdn.net/pi9nc/article/details/9734437 [Python]网络爬虫(一):抓取网页的含义和URL基本构成 分类: 爬虫 Pyt ...

  8. MongoDB学习day08--mongoose预定义修饰符和getter、setter修饰符

    一.mongoose预定义修饰符 lowercase. uppercase . trim var UserSchema=mongoose.Schema({ name:{ type:String, tr ...

  9. 过滤器链chain.doFilter(request,response)含义

    过滤器的生命周期一般都要经过下面三个阶段: 初始化 当容器第一次加载该过滤器时,init() 方法将被调用.该类在这个方法中包含了一个指向 Filter Config 对象的引用. 过滤 过滤器的大多 ...

  10. GreenDao数据库的升级

    应用使用了GreenDao数据库,在版本升级的时候需要更改dao的字段,新增.修改.删除字段操作,如果直接删除原来的表的话那用户原来的一些数据就没有了,所以在更新数据库的时候需要做一次封装,把原来的数 ...