homebrew - AMDEP 未出现在 AM_CONDITIONAL 中

标签 homebrew osx-yosemite

我一直在尝试使用Homebrew来安装ROBOSPECT ,帮助我管理依赖项(因为我在这方面基本上是个新手)。 #machomebrew 可爱的人们帮助我到达了那里; here's我的 Homebrew 配方。我收到此错误:

configure.ac:11: error: required file './compile' not found
configure.ac:11:   'automake --add-missing' can install 'compile'

因此在公式中添加了系统“automake”、“--add-missing”行;但是,现在我得到:

==> automake --add-missing
/usr/local/Cellar/automake/1.15/share/automake-1.15/am/depend2.am: error: AMDEP does not appear in AM_CONDITIONAL
/usr/local/Cellar/automake/1.15/share/automake-1.15/am/depend2.am:   The usual way to define 'AMDEP' is to add one of the compiler tests
/usr/local/Cellar/automake/1.15/share/automake-1.15/am/depend2.am:     AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC, AC_PROG_OBJCXX,
/usr/local/Cellar/automake/1.15/share/automake-1.15/am/depend2.am:     AM_PROG_AS, AM_PROG_GCJ, AM_PROG_UPC
/usr/local/Cellar/automake/1.15/share/automake-1.15/am/depend2.am:   to 'configure.ac' and run 'aclocal' and 'autoconf' again 

Google 将我发送至 this link ,这让我相信问题出在 Makefile.in 上,但我已经超出了我的理解范围。有没有人有什么建议?还有其他人可以安装 ROBOSPECT 吗?

最佳答案

我相信这个建议是正确的,但是查看 ROBOSPECT tarball 和其中的configure.ac,已经存在 AC_PROG_CC 指令。

因此,我建议您尝试 autoreconf -if 而不是 automake --add-missing。 该命令应该尝试从头开始重建所有内容。

但是,用户(甚至包维护者)不应该担心构建系统,他们应该只使用 configure 脚本。您之前想要调用 automake 的原因到底是什么?从您发布的 Homebrew 程序内容的链接来看,这一点并不明显。

关于homebrew - AMDEP 未出现在 AM_CONDITIONAL 中,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28751728/

相关文章:

ruby - ImageMagick 不能使用 JPEG (OSX/X11)?

python - 当我也有 Python2.7 (OS X) 时,virtualenv 仅创建/lib/Python2.6

java - 使用 Homebrew 软件安装后找不到 opencv jar

hadoop - brew 安装了 apache-spark 无法访问 s3 文件

MAMP 和 Yosemite PDO 异常驱动程序问题

java - OS X Yosemite 找不到 Java 8 运行时

macos - osx-以编程方式打开“隐私”>“辅助功能”窗口

ruby-on-rails - 在 osx 10.8 上安装 ruby​​ 的问题

c - 在C程序中包含ffmpeg

c++ - Homebrew 软件安装 g++ 4.7 不工作