我正在尝试在 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 等包时,它可能应该安装它们。
就是找不到aclocal
$ which aclocal-1.15
/usr/bin/aclocal-1.15
$ ln -s /usr/bin/aclocal-1.15 /usr/bin/aclocal