首页 > 解决方案 > 如何使用 Homebrew 在 macOS Mojave(10.14) 上安装 Valgrind?

问题描述

我尝试安装 Valgrindbrew install Valgrind并得到:

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.

我试过了 brew install --HEAD Valgrind

相反,在成功安装依赖autoconfautomakelibtool,当它尝试安装 valgrind 时,我收到一个配置错误:

Valgrind works on Darwin 10.x, 11.x, 12.x, 13.x, 14.x, 15.x, 16.x and
17.x (Mac OS X 10.6/7/8/9/10/11 and macOS 10.12/13)

我的操作系统是 macOS Mojave(10.14),这是否意味着我目前无法使用 Homebrew 安装功能正常的 Valgrind?

标签: macoshomebrewvalgrindmemory-leak-detector

解决方案



推荐阅读