博客摘录「 [已解决]error: possibly undefined macro: AC_PROG_LIBTOOL」2023年5月14日

1. 错误描述新搭建的build server,编译软件时报错:error: possibly undefined macro: AC_PROG_LIBTOOL1详细的错误信息如下:[20160926_16:03:11] make[8]: Entering directory `/opt/zyu/CM_develop_d31_clone_zyu/erouter/rg_apps/userspace/public/libs/openssl/crypto/md5'[20160926_16:03:11] configure.ac:22: error: possibly undefined macro: AC_PROG_LIBTOOL[20160926_16:03:11] If this token and others are legitimate, please use m4_pattern_allow.[20160926_16:03:11] See the Autoconf documentation.[20160926_16:03:11] autoreconf: /usr/bin/autoconf failed with exit status: 1[20160926_16:03:11] make[8]: Leaving directory `/opt/zyu/CM_develop_d31_clone_zyu/erouter/rg_apps/userspace/public/libs/openssl/crypto/md5'[20160926_16:03:11] making depend in crypto/sha...[20160926_16:03:11] make[8]: Entering directory `/opt/zyu/CM_develop_d31_clone_zyu/erouter/rg_apps/userspace/public/libs/openssl/crypto/sha'[20160926_16:03:11] configure: WARNING: you should use --build, --host, --target[20160926_16:03:11] configure: WARNING: you should use --build, --host, --target[20160926_16:03:11] configure: WARNING: unrecognized options: --disable-static[20160926_16:03:11] configure: error: cannot find install-sh, install.sh, or shtool in "." "./.." "./../.."[20160926_16:03:12] make[5]: *** [sqlite3] Error 1[20160926_16:03:12] make[5]: *** Waiting for unfinished jobs....1234567891011121314152. 解决办法检查第一个错误信息:[20160926_16:03:11] configure.ac:22: error: possibly undefined macro: AC_PROG_LIBTOOL1从错误信息看,是在处理configure.ac文件时出错了,认为AC_PROG_LIBTOOL是未定义的宏,使得执行autoconf失败,安装libtool包得以解决:sudo apt-get install libtool

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值