Cygwin 和“无法运行 aclocal:没有这样的文件或目录”

问题描述 投票:0回答:2

我正在尝试在 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 的上下文中搜索没有返回有用的命中。

问题是什么,我该如何解决?

cygwin autoconf
2个回答
30
投票

所以看起来安装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 等包时,它可能应该安装它们。


0
投票

就是找不到aclocal

  • 找到当地人
$ which aclocal-1.15
/usr/bin/aclocal-1.15
  • 然后创建软链接,就可以了
$ ln -s /usr/bin/aclocal-1.15 /usr/bin/aclocal
© www.soinside.com 2019 - 2024. All rights reserved.