编译安装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 ...
随机推荐
- 常用的Linux系统命令
一.linux简介 ...
- Light oj 1233 - Coin Change (III) (背包优化)
题目链接:http://www.lightoj.com/volume_showproblem.php?problem=1233 题目就不说明了. 背包的二进制优化,比如10可以表示为1 2 4 3,而 ...
- js 面试的坑:变量提升
全局中的解析和执行过程 预处理:创建一个词法环境(LexicalEnvironment,在后面简写为LE),扫描JS中的用声明的方式声明的函数,用var定义的变量并将它们加到预处理阶段的词法环境中去. ...
- 【iOS】Frame和Bounds的区别以及获取绝对坐标的办法
终于搞清楚了,UIView中的frame获取的是相对于所在ParentView的坐标,而bounds则是指UIView本身的坐标.比如下图(假设A是屏幕): View B的Frame坐标是指相对于Vi ...
- xamarin.ios 本地通知推送
由于ios10版本以后UILocalNotification被标为弃用了,所以要添加新的本地通知推送功能,下面提供一些代码参考. 一.先在AppDelegate.cs上注册本地通知推送功能. publ ...
- Jquery.ajax报parseerror Invalid JSON错误的原因和解决方法:不能解析
(默认: 自动判断 (xml 或 html)) 请求失败时调用时间.参数有以下三个:XMLHttpRequest 对象.错误信息.(可选)捕获的错误对象.如果发生了错误,错误信息(第二个参数)除了得到 ...
- 多媒体层预览(Media Layer OverView)
音频模块位于多媒体层里.多媒体层包含了图形.音频.视频三种技术.这三种技术会给你带来声觉.视觉上的良好体验. 来看看ios的结构体系以及媒体层上的内容: ...
- hint指定index的深入理解
http://czmmiao.iteye.com/blog/1480247创建一个表,含有位图index和b-tree index SQL> create table t as select o ...
- Java中执行存储过程和函数
装载于:http://www.cnblogs.com/liunanjava/p/4261242.html 一.概述 如果想要执行存储过程,我们应该使用 CallableStatement 接口. Ca ...
- Host is not allowed to connect to this MySQL server解决方案
创建远程登陆用户并授权 grant all privileges on sakila.* to root@192.168.1.210 identified by '123456'; 123456为ro ...