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