解决“possibly undefined macro: AC_PROG_LIBTOOL”

本文记录了一次使用Ubuntu 12.04进行mooon开发时遇到的问题及解决过程。作者购买了同方笔记本并尝试安装不同操作系统后选择Ubuntu,在配置开发环境时因缺少libtool导致构建失败,通过安装libtool解决了该问题。

今天特别花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”安装好即可解决。

转载于:https://www.cnblogs.com/aquester/archive/2012/07/24/9891809.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值