免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 4597 | 回复: 2
打印 上一主题 下一主题

请问关于安装Heartbeats过程中出现报错的问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2012-07-05 15:16 |只看该作者 |倒序浏览
编译安装Reusable-Cluster-Components-glue-1.0.6,执行./configure LIBS='/lib/libuuid.so.1' 出现如下提示:
config.status: creating hb_report/Makefile
config.status: creating hb_report/hb_report
config.status: WARNING:  'hb_report/hb_report.in' seems to ignore the --datarootdir setting
config.status: creating doc/Makefile
config.status: creating doc/ha_logd.xml
config.status: creating doc/ha_logger.xml
config.status: creating doc/stonith.xml
config.status: creating doc/meatclient.xml
config.status: creating doc/stonith/Makefile
config.status: creating include/config.h
config.status: include/config.h is unchanged
config.status: creating include/glue_config.h
config.status: include/glue_config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
=== configuring in libltdl (/root/mode/Reusable-Cluster-Components-glue--glue-1.0.9/libltdl)
configure: WARNING: no configuration information is in libltdl


然后我尝试执行#make  进行编译,但是貌似编译不了,提示:
Making all in include
gmake[1]: Entering directory `/root/mode/Reusable-Cluster-Components-glue--glue-1.0.9/include'
gmake   all-recursive
gmake[2]: Entering directory `/root/mode/Reusable-Cluster-Components-glue--glue-1.0.9/include'
Making all in clplumbing
gmake[3]: Entering directory `/root/mode/Reusable-Cluster-Components-glue--glue-1.0.9/include/clplumbing'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/root/mode/Reusable-Cluster-Components-glue--glue-1.0.9/include/clplumbing'
Making all in pils
gmake[3]: Entering directory `/root/mode/Reusable-Cluster-Components-glue--glue-1.0.9/include/pils'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/root/mode/Reusable-Cluster-Components-glue--glue-1.0.9/include/pils'
Making all in stonith
gmake[3]: Entering directory `/root/mode/Reusable-Cluster-Components-glue--glue-1.0.9/include/stonith'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/root/mode/Reusable-Cluster-Components-glue--glue-1.0.9/include/stonith'
Making all in lrm
gmake[3]: Entering directory `/root/mode/Reusable-Cluster-Components-glue--glue-1.0.9/include/lrm'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/root/mode/Reusable-Cluster-Components-glue--glue-1.0.9/include/lrm'
gmake[3]: Entering directory `/root/mode/Reusable-Cluster-Components-glue--glue-1.0.9/include'
gmake[3]: Leaving directory `/root/mode/Reusable-Cluster-Components-glue--glue-1.0.9/include'
gmake[2]: Leaving directory `/root/mode/Reusable-Cluster-Components-glue--glue-1.0.9/include'
gmake[1]: Leaving directory `/root/mode/Reusable-Cluster-Components-glue--glue-1.0.9/include'
Making all in libltdl
gmake[1]: Entering directory `/root/mode/Reusable-Cluster-Components-glue--glue-1.0.9/libltdl'
gmake[1]: *** No rule to make target `all'.  Stop.
gmake[1]: Leaving directory `/root/mode/Reusable-Cluster-Components-glue--glue-1.0.9/libltdl'
make: *** [all-recursive] Error 1


我去网上找资料,说要注释掉:
lib/stonith/main.c文件中的:
1.        找到其64行,将其注释掉。
2.        找到其76到81行全部注释掉。
3.        找到其390行,将其注释
但是这个文件的64行、76-81行、390行的内容是什么啊

论坛徽章:
0
2 [报告]
发表于 2012-07-05 16:31 |只看该作者
下载必备包 http://pkgs.org/search/?keyword=heartbeat,用yum安装

论坛徽章:
0
3 [报告]
发表于 2012-07-06 07:28 |只看该作者
应该是不需要改source的,安装libtool-ltdl-devel后重新configure。
可能需要删掉之前生成的libltdl目录,或者你重新解包一次cluster glue再configure。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP