我尝试在Mac上安装valgrind,但是当我执行./autogen.sh时出现此错误:running: aclocal ./autogen.sh: line 6: aclocal: command not found error: while running 'aclocal' 有人知道如何解决吗? 最佳答案 brew install automake 然后您可以使用aclocal