MacOS - automake:找不到命令
MacOS - automake: command not found
我正在尝试使用 brew
在 MacOS 上安装 automake
。从我写的终端,brew install automake
说 Warning: 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
解决方案与 brew
未能将二进制文件 link 放入 PATH
有关。 Un-linking 和重新linking 解决了它。
多么令人气愤的问题!在 Docker 的情况下,
让 autoconf 1.15 工作起来太难了,我们不得不得到 Grand Ultra Master Expert 的帮助来调查这个问题并让它在 Mac 上工作。然后它运行得很漂亮。
后来我碰巧将 Mac 升级到 High Sierra,它停止工作了! 尽管 autoconf 1.15 工作正常。
如何修复:
简短的回答,看在上帝的份上,我只是简单地删除了本地存储库,然后再次检查了存储库。
然后它运行良好!
与aclocal.m4等类似文件有关。我无休止地按摩它们,但什么也没有。有人建议只抓取存储库并重新获取它:然后一切正常!
我正在尝试使用 brew
在 MacOS 上安装 automake
。从我写的终端,brew install automake
说 Warning: 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
解决方案与 brew
未能将二进制文件 link 放入 PATH
有关。 Un-linking 和重新linking 解决了它。
多么令人气愤的问题!在 Docker 的情况下,
让 autoconf 1.15 工作起来太难了,我们不得不得到 Grand Ultra Master Expert 的帮助来调查这个问题并让它在 Mac 上工作。然后它运行得很漂亮。
后来我碰巧将 Mac 升级到 High Sierra,它停止工作了! 尽管 autoconf 1.15 工作正常。
如何修复:
简短的回答,看在上帝的份上,我只是简单地删除了本地存储库,然后再次检查了存储库。
然后它运行良好!
与aclocal.m4等类似文件有关。我无休止地按摩它们,但什么也没有。有人建议只抓取存储库并重新获取它:然后一切正常!