解决“possibly undefined macro: AC_PROG_LIBTOOL”
原创
©著作权归作者所有:来自51CTO博客作者一见_的原创作品,请联系作者获取转载授权,否则将追究法律责任
今天特别花1688在51buy.com上买了台同方的笔记本用于mooon的开发,先是安装了Fedora,觉得不好,想安装openSuSE,但发现安装包太大,最后仍选择了ubuntu 12.04,默认没有安装automake等工具,按提示逐一进行了安装,遇到如下这个错误时,表示libtool没有安装:
$ sh first_once.sh
Convert ltmain.sh from the format of DOS to UNIX OK.
Convert configure.ac.in from the format of DOS to UNIX OK.
Convert Makefile.am from the format of DOS to UNIX OK.
Convert Make.rules.in from the format of DOS to UNIX OK.
configure.ac:64: error: possibly undefined macro: AC_PROG_LIBTOOL
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoconf ERROR
只需要执行“sudo apt-get install libtool”安装好即可解决。