免费注册 查看新帖 |

Chinaunix

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

编译安装Heartbeat集群中的Resource Agents报错configure: error: cannot find instal [复制链接]

论坛徽章:
1
2015年辞旧岁徽章
日期:2015-03-03 16:54:15
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2015-07-15 13:38 |只看该作者 |倒序浏览
本帖最后由 y331044508 于 2015-07-15 13:38 编辑

编译安装Heartbeat集群中的Resource Agents

报错:configure: error: cannot find install-sh, install.sh, or shtool in . "."/.

操作系统:Red Hat Enterprise Linux Server release 5.6
Resource Agents:resource-agents-3.9.6

glue-1.0.9
Heartbeat-3-0-7
这两个已经安装成功了

安装过程:
  1. [root@racdb1 resource-agents-3.9.6]#
  2. [root@racdb1 resource-agents-3.9.6]# ./autogen.sh
  3. autoreconf: Entering directory `.'
  4. autoreconf: configure.ac: not using Gettext
  5. autoreconf: running: aclocal
  6. autoreconf: configure.ac: tracing
  7. autoreconf: configure.ac: not using Libtool
  8. autoreconf: running: /usr/local/bin/autoconf
  9. autoreconf: running: /usr/local/bin/autoheader
  10. autoreconf: running: automake --add-missing --copy --no-force
  11. configure.ac:83: require Automake 1.10.1, but have 1.9.6
  12. autoreconf: automake failed with exit status: 1
  13. [root@racdb1 resource-agents-3.9.6]# ./configure
  14. checking for gcc... gcc
  15. checking whether the C compiler works... yes
  16. checking for C compiler default output file name... a.out
  17. checking for suffix of executables...
  18. checking whether we are cross compiling... no
  19. checking for suffix of object files... o
  20. checking whether we are using the GNU C compiler... yes
  21. checking whether gcc accepts -g... yes
  22. checking for gcc option to accept ISO C89... none needed
  23. checking how to run the C preprocessor... gcc -E
  24. checking for grep that handles long lines and -e... /bin/grep
  25. checking for egrep... /bin/grep -E
  26. checking for ANSI C header files... yes
  27. checking for sys/types.h... yes
  28. checking for sys/stat.h... yes
  29. checking for stdlib.h... yes
  30. checking for string.h... yes
  31. checking for memory.h... yes
  32. checking for strings.h... yes
  33. checking for inttypes.h... yes
  34. checking for stdint.h... yes
  35. checking for unistd.h... yes
  36. checking minix/config.h usability... no
  37. checking minix/config.h presence... no
  38. checking for minix/config.h... no
  39. checking whether it is safe to define __EXTENSIONS__... yes
  40. configure: error: cannot find install-sh, install.sh, or shtool in . "."/.
  41. [root@racdb1 resource-agents-3.9.6]#
复制代码
在线等待......

论坛徽章:
1
2015年辞旧岁徽章
日期:2015-03-03 16:54:15
2 [报告]
发表于 2015-07-15 14:19 |只看该作者
还是google给力啊。。。
最终找到一篇文章解决了,,,没法发链接啊。。。不好意思权限不够

我的解决过程:
  1. [root@racdb1 resource-agents-3.9.6]# automake --force-missing --add-missing
  2. configure.ac:83: require Automake 1.10.1, but have 1.9.6
复制代码
提示要求Automake要用1.10.1版本,立马下载这个版本进行安装
然后从新检查
  1. [root@racdb1 resource-agents-3.9.6]# /root/hd/automake-1.10.1/automake --force-missing --add-missing
  2. configure.ac:83: version mismatch.  This is Automake 1.10.1,
  3. configure.ac:83: but the definition used by this AM_INIT_AUTOMAKE
  4. configure.ac:83: comes from Automake 1.9.6.  You should recreate
  5. configure.ac:83: aclocal.m4 with aclocal and run automake again.
  6. configure.ac:33: installing `./config.guess'
  7. configure.ac:33: installing `./config.sub'
  8. configure.ac:83: installing `./install-sh'
  9. heartbeat/Makefile.am: installing `./depcomp'
复制代码
删除之前 resource-agents-3.9.6包,从新编译
  1. [root@racdb1 resource-agents-3.9.6]# ./autogen.sh
  2. autoreconf: Entering directory `.'
  3. autoreconf: configure.ac: not using Gettext
  4. autoreconf: running: aclocal
  5. autoreconf: configure.ac: tracing
  6. autoreconf: configure.ac: not using Libtool
  7. autoreconf: running: /usr/local/bin/autoconf
  8. autoreconf: running: /usr/local/bin/autoheader
  9. autoreconf: running: automake --add-missing --copy --no-force
  10. configure.ac:102: installing `./compile'
  11. configure.ac:33: installing `./config.guess'
  12. configure.ac:33: installing `./config.sub'
  13. configure.ac:83: installing `./install-sh'
  14. configure.ac:83: installing `./missing'
  15. heartbeat/Makefile.am: installing `./depcomp'
  16. autoreconf: Leaving directory `.'
  17. Now run ./configure and make
  18. [root@racdb1 resource-agents-3.9.6]#
复制代码
再次编译全部就通过了,搞定,收工!

求职 : Linux运维
论坛徽章:
19
CU大牛徽章
日期:2013-03-13 15:15:0815-16赛季CBA联赛之山东
日期:2016-10-31 10:40:10综合交流区版块每日发帖之星
日期:2016-07-06 06:20:00IT运维版块每日发帖之星
日期:2016-02-08 06:20:00数据库技术版块每日发帖之星
日期:2016-01-15 06:20:00IT运维版块每日发帖之星
日期:2016-01-15 06:20:00IT运维版块每日发帖之星
日期:2016-01-10 06:20:00黄金圣斗士
日期:2015-11-24 10:45:10IT运维版块每日发帖之星
日期:2015-09-01 06:20:00IT运维版块每日发帖之星
日期:2015-08-13 06:20:00IT运维版块每日发帖之星
日期:2015-07-30 09:40:012015年亚洲杯之巴勒斯坦
日期:2015-05-05 10:19:03
3 [报告]
发表于 2015-07-21 10:53 |只看该作者
牛贴子,我觉得这样的帖子大家最受欢迎

求职 : Linux运维
论坛徽章:
19
CU大牛徽章
日期:2013-03-13 15:15:0815-16赛季CBA联赛之山东
日期:2016-10-31 10:40:10综合交流区版块每日发帖之星
日期:2016-07-06 06:20:00IT运维版块每日发帖之星
日期:2016-02-08 06:20:00数据库技术版块每日发帖之星
日期:2016-01-15 06:20:00IT运维版块每日发帖之星
日期:2016-01-15 06:20:00IT运维版块每日发帖之星
日期:2016-01-10 06:20:00黄金圣斗士
日期:2015-11-24 10:45:10IT运维版块每日发帖之星
日期:2015-09-01 06:20:00IT运维版块每日发帖之星
日期:2015-08-13 06:20:00IT运维版块每日发帖之星
日期:2015-07-30 09:40:012015年亚洲杯之巴勒斯坦
日期:2015-05-05 10:19:03
4 [报告]
发表于 2015-07-21 10:56 |只看该作者
我代表斑竹呼吁大家多将自己碰到的问题和解决过程贴出来,这样可以帮助大家一起成长,我相信LINUS的那句”想让你的文件不丢失,就给它自由,让他保存在很多FTP上“。同样的道理,我们的记忆无法记住所有的东西,但我相信CU论坛可以帮你记住你思维的痕迹!!!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP