-----------那些需要升级包还有少包的错误就不写了---------- <b>1</b>.
Reusable-Cluster-Components-glue-glue-<b>1</b>.0.9
./autogen.sh
报告如下错误
configure.ac:7<b>1</b>: <a name="qihoosnap2" rel="nofollow"></a><b>error</b>: possibly undefined macro:AC_LIBTOOL_D<a name="qihoosnap1" rel="nofollow"></a><b>LO</b>PEN
If this token and others are legitimate, please use m4_pattern_al<b>lo</b>w.
See the Autoconf documentation.
configure.ac:72: <b>error</b>: possiblyundefinedmacro:AC_LIBLTDL_CONVENIENCE
configure.ac:73: <b>error</b>: possibly undefined macro: AC_PROG_LIBTOOL
./autogen.sh exiting due to <b>error</b> (sorry!).
解决办法是,在执行一次./autogen.sh 即可(不清楚)
2.编译heartbeat时报错:
configure: <b>error</b>: Core deve<b>lo</b>pment headers were not found
See `config.<b>lo</b>g'' for more details.
./bootstrap exiting due to <b>error</b> (sorry!).
解决:这需要中间层包glue,
3.出现configure.in:required file './install-sh' not found 求大神
这个把 automake 下面的 install-sh 拷贝到root 目录下
4.安装Reusable-Cluster-Components-glue--glue-<b>1</b>.0.9
./.libs/libplumb.so: undefined reference to `uuid_parse’
./.libs/libplumb.so: undefined reference to `uuid_generate’
./.libs/libplumb.so: undefined reference to `uuid_copy’
./.libs/libplumb.so: undefined reference to `uuid_is_null’
./.libs/libplumb.so: undefined reference to `uuid_unparse’
./.libs/libplumb.so: undefined reference to `uuid_clear’
./.libs/libplumb.so: undefined reference to `uuid_compare’
collect2: ld returned <b>1</b> exit status
gmake[2]: *** [ipctest] <b>Error</b> <b>1</b> gmake[2]: Leaving directory `/root/Reusable-Cluster-Components-glue-<b>1</b>.0.6/lib/clplumbing
gmake[<b>1</b>]: *** [all-recursive] <b>Error</b> <b>1</b> gmake[<b>1</b>]: Leaving directory `/root/Reusable-Cluster-Components-glue-<b>1</b>.0.6/lib
make: *** [all-recursive] <b>Error</b> <b>1</b> 解决办法:
./configure --prefix=$PREFIX --with-daemon-user=${CLUSTER_USER} --with-daemon-group=${CLUSTER_GROUP} --enable-fatal-warnings=no LIBS='/lib64/libuuid.so.<b>1</b>'
各位在./configure的时候指定一下LIBS,如果是32位系统的话改成LIBS='/lib/libuuid.so.<b>1</b>'。下面ClusterLabs-resource Heartbeat在./configure的时候都指定一下,要不然继续报错。
5。make时出现
lib/pils/.libs/libpils.so -lbz2 -lxml2 -lc -lrt -ldl -lglib-2.0 -lltdl ./.libs/libplumb.so: undefined reference to `uuid_parse' ./.libs/libplumb.so: undefined reference to `uuid_generate' ./.libs/libplumb.so: undefined reference to `uuid_copy' ./.libs/libplumb.so: undefined reference to `uuid_is_null' ./.libs/libplumb.so: undefined reference to `uuid_unparse' ./.libs/libplumb.so: undefined reference to `uuid_clear' ./.libs/libplumb.so: undefined reference to `uuid_compare' collect2: ld returned <b>1</b> exit status gmake[2]: *** [ipctest] <b>Error</b> <b>1</b> 解决办法:yum install e2fsprogs-devel libuuid-devel
6../configure时出现configure: <b>error</b>: BZ2 libraries not found
解决办法:yum -y install bzip2-devel glib2-devel
7编译安装3.0.7,make时出错了
ucast.c: 在函数‘HB_make_send_sock’中:
ucast.c:468: 错误:与‘i’类型冲突
ucast.c:465: 附注:‘i’的上一个声明在此
ucast.c:502: 错误:在非结构或联合中请求成员‘ifr_ifrn’
ucast.c:508: 错误:在非结构或联合中请求成员‘ifr_ifrn’
ucast.c:513: 错误:在非结构或联合中请求成员‘ifr_ifrn’
gmake[4]: *** [ucast.lo] 错误 1
gmake[4]: Leaving directory `/usr/local/src/Heartbeat-3-0-7e3a82377fa8/lib/plugins/HBcomm'
gmake[3]: *** [all-recursive] 错误 1
gmake[3]: Leaving directory `/usr/local/src/Heartbeat-3-0-7e3a82377fa8/lib/plugins/HBcomm'
gmake[2]: *** [all-recursive] 错误 1
gmake[2]: Leaving directory `/usr/local/src/Heartbeat-3-0-7e3a82377fa8/lib/plugins'
gmake[1]: *** [all-recursive] 错误 1
gmake[1]: Leaving directory `/usr/local/src/Heartbeat-3-0-7e3a82377fa8/lib'
make: *** [all-recursive] 错误 1
解决方法:Heartbeat-3-0-7e3a82377fa8/lib/plugins/HBcomm/ucast.c
这个文件貌似有问题,删除468行int i = 1;应该就能make了。(这个真心坑爹)
8. 下面是一些要安装的 包 应该比较全了
ftp://ftp.gnu.org/pub/gnu/automake/automake-1.14.tar.gz
ftp://ftp.gnu.org/pub/gnu/autoconf/autoconf-2.69.tar.gz
http://hg.linux-ha.org/heartbeat-STABLE_3_0/archive/7e3a82377fa8.tar.bz2
http://hg.linux-ha.org/glue/archive/glue-1.0.9.tar.bz2
https://github.com/ClusterLabs/resource-agents/tarball/v3.9.2
yum install bzip2-devel
yum install glib2-devel
yum install libxml2 libxml2-devel
yum install gcc-c++
yum install libtool-ltdl-devel
yum install libxslt-devel

编译安装Heartbeat常见错误的更多相关文章

  1. PHP编译安装时常见错误解决办法,php编译常见错误

    PHP编译安装时常见错误解决办法,php编译常见错误 1.configure: error: xslt-config not found. Please reinstall the libxslt & ...

  2. Lnmp 源码编译安装、常见错误整理

    简介: Lnmp 环境的搭建还是非常简单的,之前由于博客迁移等原因,导致丢失了好多博文,这次重新整理记录一下. Lnmp 即:Linux .Nginx .Mysql .PHP Lnmp 是一套 Web ...

  3. 7.2.*PHP编译安装时常见错误解决办法,php编译常见错误

    configure: error: Cannot find ldap.h   检查下面是不是已经安装,如果没有安装之:检查:yum list openldapyum list openldap-dev ...

  4. 【转】ubuntu源码编译安装php常见错误解决办法

    ./configure -prefix=/usr/local/php -with-config-file-path=/etc -with-mysql=mysqlnd -with-mysqli=mysq ...

  5. magent编译安装及常见错误

    安装magent到/usr/local/下 cd /usr/local mkdir magent cd magent/ wget http://memagent.googlecode.com/file ...

  6. PHP编译安装时常见错误及解决办法,大全

    1.   configure: error: xslt-config not found. Please reinstall the libxslt >= 1.1.0 distribution ...

  7. linux编译安装时常见错误解决办法

    This article is post on https://coderwall.com/p/ggmpfa 原文链接:http://www.bkjia.com/PHPjc/1008013.html ...

  8. CentOS编译安装PHP常见错误及解决办法

    1.configure: error: No curses/termcap library found yum -y install ncurses-devel 2.configure: error: ...

  9. PHP编译安装时常见错误解决办法

    转载自:http://www.bkjia.com/PHPjc/1008013.html This article is post on https://coderwall.com/p/ggmpfa c ...

随机推荐

  1. [Python Cookbook] Numpy: Iterating Over Arrays

    1. Using for-loop Iterate along row axis: import numpy as np x=np.array([[1,2,3],[4,5,6]]) for i in ...

  2. [XJOI-NOI2015-13-C]白黑树

    题目大意: 给你一个$n(n\leq300000)$个结点的以$1$为根的树,结点有黑白两种颜色,每个点初始权值为$0$.进行以下2种共$m(m\leq300000)$次操作: 1.给定结点$u$,对 ...

  3. DEDECMS图片集上传图片出错302的解决办法

    无忧主机(www.51php.com)小编今天在调试dede网站的时候发现了一个问题,因为小编想在网站上增加一个图片集的栏目,于是就到后台图片集栏目去添加内容,谁知在上传图片的时候给我弹出个错误信息框 ...

  4. Linux学习之十六-Linux用户管理

    Linux用户管理 Linux系统跟Windows系统一样,可以创建不同的用户,不同的用户组.在不同用户下使用系统具有相应的权限 创建一个普通用户时,会修改几个文件,拷贝一些初始文件到用户家目录中 修 ...

  5. 【音乐App】—— Vue-music 项目学习笔记:歌手详情页开发

    前言:以下内容均为学习慕课网高级实战课程的实践爬坑笔记. 项目github地址:https://github.com/66Web/ljq_vue_music,欢迎Star. 歌曲列表 歌曲播放 一.子 ...

  6. eletron 播放rtmp flash 播放器问题

    1 安装 flash https://www.flash.cn/ 2 man.js 配置 参考 https://newsn.net/say/electron-flash-win.html 3 播放器 ...

  7. 新版本号的tlplayer for android ,TigerLeapMC for windows公布了

    tlplayer for android 新版本号修正了图像倾斜等等问题,添加了动态水印功能. 支持hls(m3u8),http,rtsp,mms,rtmp等网络协议. 声明tlplayer 上的变速 ...

  8. MongoDB 快速入门

    本作品由Man_华创作,采用知识共享署名-非商业性使用-相同方式共享 4.0 国际许可协议进行许可.基于http://www.cnblogs.com/manhua/上的作品创作. MongoDB No ...

  9. Java 使用StringBuffer注意

    Stringbuffer使用注意   问题背景: 模拟客户端使用Socket请求服务器核心系统,核心系统正常响应,内容较大,近2715KB,大于2.6M多. 使用指定编码GBK来接收响应内容到过程中没 ...

  10. 【转载】关于 .Net 逆向的那些工具:反编译篇

    在项目开发过程中,估计也有人和我遇到过同样的经历:生产环境出现了重大Bug亟需解决,而偏偏就在这时仓库中的代码却不是最新的.在这种情况下,我们不能直接在当前的代码中修改这个Bug然后发布,这会导致更严 ...