编译安装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 ...
随机推荐
- HDU 5131.Song Jiang's rank list (2014ACM/ICPC亚洲区广州站-重现赛)
Song Jiang's rank list Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 512000/512000 K (Java ...
- 浅谈.Net异步编程的前世今生----EAP篇
前言 在上一篇博文中,我们提到了APM模型实现异步编程的模式,通过使用APM模型,可以简化.Net中编写异步程序的方式,但APM模型本身依然存在一些缺点,如无法得知操作进度,不能取消异步操作等. 针对 ...
- Network | HTTP protocol
版本 HTTP/1.0这是第一个在通讯中指定版本号的HTTP协议版本,至今仍被广泛采用,特别是在代理服务器中. HTTP/1.1当前版本.持久连接被默认采用,并能很好地配合代理服务器工作.还支持以管道 ...
- 【JSOI2007】文本生成器
用AC自动机处理所有了解的单词 显然,不能直接算,直接算的话,我们需要大力容斥,复杂度不允许 我们不妨反过来做,我们根据AC自动机处理出所有的不可行解,然后用总数减去即可 计算所有不可行解用dp,\( ...
- fauxbar.bak
{"options": { "almostdone":"0", "backup_searchEngines":" ...
- 如何在SQLite中创建自增字段
SQLite 简单的回答:一个声明为 INTEGER PRIMARY KEY 的字段将自动增加. 这里是详细的答案: 从 SQLite 的 2.3.4 版本开始,如果你将一个表中的一个字段声明为 ...
- [转] 使用SVN进行源码管理
原文地址:gyzhao's, 使用SVN进行源码管理(下) 软件下载 1. Viusal SVN, Download(官网),安装该软件之前,请先安装TortoiseSVN,Download. 2. ...
- 主机屋 ubuntu 14安装nginx
http://www.cnblogs.com/piscesLoveCc/p/5794926.html 安装gcc g++的依赖库 1 sudo apt-get install build-essent ...
- 给控件做数字签名之一:将控件打包为Web发布包 [转]
微软代码签名证书使用指南 http://www.wotrust.com/support/signcode_guide.htm 签名重要性:http://www.wotrust.com/FAQ/whyS ...
- 同步I/O 和 异步I/O
所谓同步I/O是指在调用ReadFile.WriteFile等函数进行输入输出操作时,系统完毕了输入输出ReedFile.WriteFile才返回. 在操作系统进行I/O操作的过程上,用户态线程不能运 ...