../lib/talloc/talloc.c:56:31: fatal error: valgrind/memcheck.h: No such file or directory #include <valgrind/memcheck.h> ^ compilation terminated.
The thing is, this should only happen if valgrind SEEMS like it is installed, because /* Special macros that are no-ops except when run under Valgrind on * x86. They've moved a little bit from valgrind 1.0.4 to 1.9.4 */ #ifdef HAVE_VALGRIND_MEMCHECK_H /* memcheck.h includes valgrind.h */ #include <valgrind/memcheck.h> #elif defined(HAVE_VALGRIND_H) #include <valgrind.h> #endif