Cygwin 和 "failed to run aclocal: No such file or directory"

标签 cygwin autoconf

我正在尝试在 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 , automakelibtool已安装。没有包裹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/

相关文章:

haskell - 如何在 ./configure 中检查 haskell 包版本?

java - 如何从 Cygwin bash shell 启动在 Eclipse 中开发的 java CLI 程序?

windows-7 - Git Push origin Master 挂起 - cygwin w/windows 7

c - 运行 GCC 预处理器非 C 文件

c++ - Autotools 提示使用不同上下文编译的文件

makefile - 如何在 automake 中创建依赖项?

linux - Automake:依赖于构建结果

linux - 如何在 Amazon Linux AMI EC2 上安装 "autoconf-archive"

备份 2 个外部硬盘时 cygwin rsync 变慢

bash - 使 xargs 在 Cygwin 中工作