无法在macOS High Sierra上构建和安装Valgrind

1N5*_*818 12 macos valgrind macos-high-sierra

我无法在macOS High Sierra上安装Valgrind.它无法通过brew.我试过3.10.之后make install,我收到这条消息:

configure: error: Valgrind works on Darwin 10.x, 11.x, 12.x, 13.x and 14.x (Mac OS X 10.6/7/8/9/10)
Run Code Online (Sandbox Code Playgroud)

Homebrew说:

valgrind: This formula either does not compile or function as expected on macOS
versions newer than Sierra due to an upstream incompatibility.
Error: An unsatisfied requirement failed this build.
Run Code Online (Sandbox Code Playgroud)

小智 9

我有这样的问题.所以,我找到了解决方案.您应该通过此代码安装valgrind brew install --HEAD valgrind

  • 可悲的是不适用于莫哈韦沙漠:| (2认同)

小智 1

Valgrind 是一款相当敏感的软件,需要针对 macOS 的每个主要版本进行更新。

截至 2018 年 2 月,尚未发布支持 macOS High Sierra (10.13) 的 Valgrind 版本。您将需要使用 Valgrind 的开发版本,或使用替代工具。(Apple 的Instruments可能具有您正在寻找的一些功能。)