MacOS - automake: command not found

谁说胖子不能爱 提交于 2020-01-02 10:06:05

问题


I am trying to install automake on MacOS using brew. From terminal I write, brew install automake says Warning: automake-1.15 already installed. When I then try automake version it responds -bash: automake: command not found. I am using 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

回答1:


The solution had to do with brew having failed to link the binary into the PATH. Un-linking and re-linking solved it.




回答2:


What an infuriating problem! In a Docker situation,

It is so hard to get autoconf 1.15 working that we had to get the aid of a Grand Ultra Master Expert to investigate the issue and get it working on Mac. It then worked beautifully.

Later I happened to upgrade a Mac to High Sierra, it stopped working! Even though autoconf 1.15 working fine.

How to fix:

Short answer, I simply trashed the local repo, for goodness sake, and checked out the repo again.

It then worked fine!

It has something to do with the aclocal.m4 and similar files. I endlessly massaged them but nothing. Someone suggsted just scratching the repo and getting it again: everything then worked!



来源:https://stackoverflow.com/questions/41024838/macos-automake-command-not-found

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!