解决“possibly undefined macro: AC_PROG_LIBTOOL”

4551阅读 2评论2012-06-08 Aquester
分类:LINUX

今天特别花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”安装好即可解决。
上一篇:解决C++代码单元测试中的难题-不可验证和IO调用
下一篇:解决“configure: line 2747: -g: command not found”

文章评论