我正在我的Arch Linux发行版上重新安装pacman。当我运行配置脚本"configure.ac“时,我得到了一堆未定义的宏:
error: possibly undefined macro: AM_INIT_AUTOMAKE.
If this token and others are legitimate, please use m4_pattern_allow.
See the autoconf documentation.
error: possibly undefined macro: AC_PROG_LIBTOOL
error: possibly undefined macro: AM_GNU_GETTEXT
error: possibly undefined macro: AM_GNU_GETTEXT_VERSION
error: possibly undefined macro: AM_CONDITIONAL有人知道是什么导致这些宏不被定义的吗?我来自Ubuntu (这里的一切都很正常,因此很无聊),所以我对自动驾驶并不了解。
发布于 2011-08-13 11:15:21
试试这个,也许能帮上忙:
autoreconf --install(参见手册,还有一个--force选项)
发布于 2011-08-13 08:42:27
您发布的错误消息中的宏是由自动机和利布工具定义的;看起来您需要安装这些包。
然后试试autoreconf --install
发布于 2015-01-31 03:02:19
对于其他人来说:虽然自动化和libtool很可能是候选的,但有些系统不会自动安装gettext。这也是必需的。
https://unix.stackexchange.com/questions/18673
复制相似问题