AMDEP 没有出现在 AM_CONDITIONAL
AMDEP does not appear in AM_CONDITIONAL
我一直在尝试使用 Homebrew 安装 ROBOSPECT, to help me manage the dependencies (since I'm mostly a complete newb when it comes to this stuff). The lovely people at #machomebrew got me part of the way there; here's 我的 Homebrew 公式。我收到此错误:
configure.ac:11: error: required file './compile' not found
configure.ac:11: 'automake --add-missing' can install 'compile'
因此在公式中添加了 system "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
的原因究竟是什么?从 link 到您发布的自制程序并不明显。
我一直在尝试使用 Homebrew 安装 ROBOSPECT, to help me manage the dependencies (since I'm mostly a complete newb when it comes to this stuff). The lovely people at #machomebrew got me part of the way there; here's 我的 Homebrew 公式。我收到此错误:
configure.ac:11: error: required file './compile' not found
configure.ac:11: 'automake --add-missing' can install 'compile'
因此在公式中添加了 system "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
的原因究竟是什么?从 link 到您发布的自制程序并不明显。