【问题标题】:MacOS - automake: command not foundMacOS - 自动制作:找不到命令
【发布时间】:2016-12-07 18:35:20
【问题描述】:

我正在尝试使用 brew 在 MacOS 上安装 automake。从我写的终端,brew install automakeWarning: automake-1.15 already installed。 然后当我尝试automake version 时,它会响应-bash: automake: command not found。我正在使用 OS X El Capitan。

$ automake version
-bash: automake: command not found
$ brew install automake
Warning: automake-1.15 already installed
$ automake version
-bash: automake: command not found

【问题讨论】:

  • automake 链接了吗? brew link automake 如果它已经被链接,会警告你,如果没有,则建立链接。如果这不起作用,请确认它在您的 PATH 中。
  • 您可能还在寻找标志--version
  • 它的工作...unlink 它然后link 再次工作:) 谢谢

标签: macos terminal homebrew automake


【解决方案1】:

解决方案与brew 未能将二进制文件链接到PATH 有关。取消链接和重新链接解决了它。

【讨论】:

    【解决方案2】:

    多么令人愤怒的问题!在 Docker 情况下,

    要让 autoconf 1.15 正常工作非常困难,我们不得不求助于 Grand Ultra Master Expert 来调查这个问题并让它在 Mac 上正常工作。然后效果很好。

    后来我碰巧将 Mac 升级到 High Sierra,它停止工作了! 即使 autoconf 1.15 工作正常。

    如何解决:

    简短的回答,看在上帝的份上,我只是简单地丢弃了本地存储库,然后再次检查了存储库。

    然后它工作正常!

    它与 aclocal.m4 和类似文件有关。我无休止地按摩它们,但什么也没有。有人建议只是抓取回购并再次获取它:然后一切正常!

    【讨论】:

      猜你喜欢
      • 2020-06-28
      • 2020-09-18
      • 2018-12-15
      • 2017-03-05
      • 1970-01-01
      • 2023-03-04
      • 2019-03-21
      • 2020-03-20
      • 1970-01-01
      相关资源
      最近更新 更多