Chinaunix首页 | 论坛 | 博客
  • 博客访问: 8058785
  • 博文数量: 594
  • 博客积分: 13065
  • 博客等级: 上将
  • 技术积分: 10324
  • 用 户 组: 普通用户
  • 注册时间: 2008-03-26 16:44
个人简介

推荐: blog.csdn.net/aquester https://github.com/eyjian https://www.cnblogs.com/aquester http://blog.chinaunix.net/uid/20682147.html

文章分类

全部博文(594)

分类: LINUX

2012-06-08 23:51:21

今天特别花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”安装好即可解决。
阅读(4325) | 评论(2) | 转发(0) |
给主人留下些什么吧!~~

Aquester2012-09-23 11:23:15

luxiao9999: 建议博主把mooon工程的make方式修改下。我发现linux版本不一样,经常编译不过。都是libtool的问题。
后来还是我自己写了makefile一个一个工程的编译过去了。
建.....
嗯,确实也是可以的,不过仍得保持简单,需要点时间来写

luxiao99992012-09-21 10:07:58

建议博主把mooon工程的make方式修改下。我发现linux版本不一样,经常编译不过。都是libtool的问题。
后来还是我自己写了makefile一个一个工程的编译过去了。
建议博主去除lobtool,直接就一个makefile把问题搞定不是很简单吗?