Unable to build and install Valgrind on macOS High Sierra

Alexander Kleinhans picture Alexander Kleinhans · Feb 9, 2018 · Viewed 10.2k times · Source

I cannot install Valgrind on macOS High Sierra. It's not available through brew. I've tried with 3.10. After make install, I get this message:

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)

Homebrew says:

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.

Answer

Yuriy Lesyo picture Yuriy Lesyo · Mar 24, 2018

I had the problem like this. So, I found the solving. You should install valgrind by this code brew install --HEAD valgrind