[已解决]error: possibly undefined macro: AC_PROG_LIBTOOL

来源:互联网 发布:xp映射网络驱动器 编辑:程序博客网 时间:2024/04/24 03:12

1. 错误描述

新搭建的build server,编译软件时报错:

error: possibly undefined macro: AC_PROG_LIBTOOL

详细的错误信息如下:

[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....

2. 解决办法

检查第一个错误信息:

[20160926_16:03:11] configure.ac:22: error: possibly undefined macro: AC_PROG_LIBTOOL

从错误信息看,是在处理configure.ac文件时出错了,认为AC_PROG_LIBTOOL是未定义的宏,使得执行autoconf失败,安装libtool包得以解决:

sudo apt-get install libtool
0 0
原创粉丝点击