libtoolize: command not found

本文记录了在尝试安装TFS过程中遇到的错误,并详细展示了错误信息。通过使用yum命令安装缺少的libtool包,成功解决了无法找到必要构建工具的问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

今天安装TFS出现报错如下:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[root@ZWCLC6X-12271 tb-common-utils]# ./build.sh
autogen.sh: line 11: libtoolize: command not found
autogen.sh: line 12: aclocal: command not found
autogen.sh: line 13: autoconf: command not found
autogen.sh: line 14: automake: command not found
./build.sh: line 20: ./configure: 没有那个文件或目录
make: *** 没有指明目标并且找不到 makefile。 停止。
make: *** 没有规则可以创建目标“install”。 停止。
autogen.sh: line 10: libtoolize: command not found
autogen.sh: line 11: aclocal: command not found
autogen.sh: line 12: autoconf: command not found
autogen.sh: line 13: automake: command not found
./build.sh: line 34: ./configure: 没有那个文件或目录
make: *** 没有指明目标并且找不到 makefile。 停止。
make: *** 没有规则可以创建目标“install”。 停止。

解决办法:

  

1
yum -y install libtool










本文转自 xinsir999 51CTO博客,原文链接:http://blog.51cto.com/xinsir/1749297,如需转载请自行联系原作者
用中文分析错误原因,给出解决方法cd zeromq-4.3.5/ [root@localhost:2 zeromq-4.3.5]# ./autogen.sh autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal -I config --force -I config autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'config'. libtoolize: copying file 'config/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'config'. libtoolize: copying file 'config/libtool.m4' libtoolize: copying file 'config/ltoptions.m4' libtoolize: copying file 'config/ltsugar.m4' libtoolize: copying file 'config/ltversion.m4' libtoolize: copying file 'config/lt~obsolete.m4' autoreconf: running: /usr/bin/autoconf --include=config --force configure.ac:28: error: possibly undefined macro: AC_SUBST If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. configure.ac:74: error: missing some pkg-config macros (pkg-config package) configure.ac:132: error: possibly undefined macro: AC_MSG_RESULT configure.ac:145: error: possibly undefined macro: AC_DEFINE configure.ac:253: error: possibly undefined macro: AC_CHECK_LIB configure.ac:356: error: possibly undefined macro: AC_CHECK_HEADERS configure.ac:358: error: possibly undefined macro: AC_MSG_ERROR configure.ac:545: error: missing some pkg-config macros (pkg-config package) configure.ac:550: error: possibly undefined macro: AC_SEARCH_LIBS configure.ac:593: error: possibly undefined macro: AC_MSG_NOTICE configure.ac:888: error: possibly undefined macro: AC_MSG_WARN autoreconf: /usr/bin/autoconf failed with exit status: 1 autogen.sh: error: autoreconf exited with status 1
最新发布
07-23
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值