autoconf:possibly undefined macro: AM_INIT_AUTOMAKE

编译安装或者制作Deb包
回复
esolve
帖子: 210
注册时间: 2010-05-08 4:52
送出感谢: 0
接收感谢: 0

autoconf:possibly undefined macro: AM_INIT_AUTOMAKE

#1

帖子 esolve » 2017-02-17 18:33

我下载了一个软件源码,里面没有configure,不过有一个configure.ac
我运行autoconf
但是得到错误如下,怎么办?

代码: 全选

$ autoconf
configure.ac:28: error: possibly undefined macro: AM_INIT_AUTOMAKE
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:29: error: possibly undefined macro: AM_MAINTAINER_MODE
configure.ac:34: error: possibly undefined macro: AM_SILENT_RULES
configure.ac:77: error: possibly undefined macro: AM_CONDITIONAL
configure.ac:164: error: possibly undefined macro: AM_CHECK_PYTHON_HEADERS
configure.ac:165: error: possibly undefined macro: AM_CHECK_PYTHON_LIBS
nanger@nangerbook:~/Program/glade-glade-3-14$ vim README
nanger@nangerbook:~/Program/glade-glade-3-14$ ./configure
configure: error: cannot find install-sh, install.sh, or shtool in "." "./.." "./../.."

头像
astolia
论坛版主
帖子: 3087
注册时间: 2008-09-18 13:11
送出感谢: 1 次
接收感谢: 510 次

Re: autoconf:possibly undefined macro: AM_INIT_AUTOMAKE

#2

帖子 astolia » 2017-02-28 20:27

autoreconf -i
回复

回到 “编译或打包”