编译安装Heartbeat常见错误
-----------那些需要升级包还有少包的错误就不写了---------- <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>PENIf 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_CONVENIENCEconfigure.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 foundSee `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 statusgmake[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-devel6../configure时出现configure: <b>error</b>: BZ2 libraries not found解决办法:yum -y install bzip2-devel glib2-devel7编译安装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] 错误 1gmake[4]: Leaving directory `/usr/local/src/Heartbeat-3-0-7e3a82377fa8/lib/plugins/HBcomm'gmake[3]: *** [all-recursive] 错误 1gmake[3]: Leaving directory `/usr/local/src/Heartbeat-3-0-7e3a82377fa8/lib/plugins/HBcomm'gmake[2]: *** [all-recursive] 错误 1gmake[2]: Leaving directory `/usr/local/src/Heartbeat-3-0-7e3a82377fa8/lib/plugins'gmake[1]: *** [all-recursive] 错误 1gmake[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.gzftp://ftp.gnu.org/pub/gnu/autoconf/autoconf-2.69.tar.gzhttp://hg.linux-ha.org/heartbeat-STABLE_3_0/archive/7e3a82377fa8.tar.bz2http://hg.linux-ha.org/glue/archive/glue-1.0.9.tar.bz2https://github.com/ClusterLabs/resource-agents/tarball/v3.9.2yum install bzip2-develyum install glib2-develyum install libxml2 libxml2-develyum install gcc-c++yum install libtool-ltdl-develyum install libxslt-devel编译安装Heartbeat常见错误的更多相关文章
- PHP编译安装时常见错误解决办法,php编译常见错误
PHP编译安装时常见错误解决办法,php编译常见错误 1.configure: error: xslt-config not found. Please reinstall the libxslt & ...
- Lnmp 源码编译安装、常见错误整理
简介: Lnmp 环境的搭建还是非常简单的,之前由于博客迁移等原因,导致丢失了好多博文,这次重新整理记录一下. Lnmp 即:Linux .Nginx .Mysql .PHP Lnmp 是一套 Web ...
- 7.2.*PHP编译安装时常见错误解决办法,php编译常见错误
configure: error: Cannot find ldap.h 检查下面是不是已经安装,如果没有安装之:检查:yum list openldapyum list openldap-dev ...
- 【转】ubuntu源码编译安装php常见错误解决办法
./configure -prefix=/usr/local/php -with-config-file-path=/etc -with-mysql=mysqlnd -with-mysqli=mysq ...
- magent编译安装及常见错误
安装magent到/usr/local/下 cd /usr/local mkdir magent cd magent/ wget http://memagent.googlecode.com/file ...
- PHP编译安装时常见错误及解决办法,大全
1. configure: error: xslt-config not found. Please reinstall the libxslt >= 1.1.0 distribution ...
- linux编译安装时常见错误解决办法
This article is post on https://coderwall.com/p/ggmpfa 原文链接:http://www.bkjia.com/PHPjc/1008013.html ...
- CentOS编译安装PHP常见错误及解决办法
1.configure: error: No curses/termcap library found yum -y install ncurses-devel 2.configure: error: ...
- PHP编译安装时常见错误解决办法
转载自:http://www.bkjia.com/PHPjc/1008013.html This article is post on https://coderwall.com/p/ggmpfa c ...
随机推荐
- hibernate中SQL包含冒号
当前负责的项目使用的是hibernate,而“:”是hibernate的一个占位符,作为预编译使用的, select tmp.pid from (select pid, loginTime, @i : ...
- 洛谷——1115 最大子段和(区间DP)
题目描述 给出一段序列,选出其中连续且非空的一段使得这段和最大. 输入输出格式 输入格式: 输入文件maxsum1.in的第一行是一个正整数N,表示了序列的长度. 第2行包含N个绝对值不大于10000 ...
- log4j(一)
一.基础知识 Log4j有三个重要组件:Logger-日志信息的级别,appenders-日志信息的输出目的地,layouts-日志信息的输出格式. Logger-日志信息的级别:level 是日志记 ...
- php 开发 错误汇总
[问题]nginx thinkphp中 除首页外全显示404 Not Found,非rewrite问题,Linux+nginx环境 [解决方案]: 1.在nginx下重新支持pathinfo模式 2. ...
- 【IntelliJ IDEA】Debug调试的使用记录
Debug调试是否能行云流水的使用,是鉴定你会不会使用一个IDE的最基本的标准. 今天再这里把Idea的debug使用流程走一遍. ================================== ...
- [置顶]
一个简单好用的zabbix告警信息发送工具
之前使用邮件和短信发送zabbix告警信息,但告警信息无法实时查看或者无法发送,故障无法及时通知运维人员. 后来使用第三方微信接口发送信息,愉快地用了一年多,突然收费了. zabbix告警一直是我的痛 ...
- 解决Ubuntu下gedit中文乱码的情况
windows下简体中文多用GBK编码 (或GB2312, GB18030), 而linux下多用UTF-8编码. 因此,一般来说在微软平台编辑的中文txt不能在ubuntu下直接打开查看,除非在保存 ...
- CEF生成JSON数据
在"使用CEF的JSON解析功能"中介绍了使用CefParseJson方法,与之相应的另一个CefWriteJson方法,能够用来生成JSON串(或二进制),其函数原型例如以下: ...
- 228. 汇总区间(leetcode)
#整体思路:使用堆栈,在Python中可以使用列表代替:如果a[i]-a[i-1]==1,就要将a[i]合并到之前的区间里,#所以我们队首位元素开辟一个区间为[a[0],a[0]]#做最后汇总时候,如 ...
- 2017.2.20 activiti实战--第一章--认识Activiti
学习资料:<Activiti实战> 第一章 认识Activiti 内容概览:讲解activiti的特点.接口概览.架构等基本信息. 1.3 Activiti的特点 1.使用mybatis ...