我正在尝试在 Cygwin 上测试我们的 Autotools 东西。当我打开提示时:
$ autoreconf --install --force
Can't exec "aclocal": No such file or directory at /usr/share/autoconf/Autom4te/FileUtils.pm line 326.
autoreconf-2.69: failed to run aclocal: No such file or directory
我重新运行了 Cygwin 包管理器并验证了
autoconf
, automake
和 libtool
已安装。没有包裹aclocal
安装。在 Cygwin 的上下文中,搜索不会返回有用的命中。
有什么问题,我该如何解决?
最佳答案
所以看起来安装Autoconf 2.69、Automake 1.15和Libtool是不够的。还有其他软件包需要安装,但 Cygwin 不会安装它们。
首先,我需要一个名为 automake 的包:多个版本的 Automake 的包装器。其次,我需要名为 libtool:通用库支持脚本的包。
名为 autoconf:wrapper for multiple versions of Autoconf 的包已经安装,所以不需要安装。
如果 Autools 包需要它们,那么当用户选择 Autoconf 2.69 和 Automake 1.15 等包时,它可能应该安装它们。
关于Cygwin 和 "failed to run aclocal: No such file or directory",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47168311/