Как установить Valgrind на macOS Catalina (10.15) с помощью Homebrew? - PullRequest
1 голос
/ 13 октября 2019

Я попытался установить Valgrind с помощью команды brew install Valgrind, и я получил сообщение:

"valgrind: эта формула либо не компилируется, либо работает, как ожидается, в версиях macOS, более новых, чем Sierra, из-занесовместимость с вышестоящим потоком. Ошибка: неудовлетворенное требование не удалось выполнить эту сборку. "

Я также попытался" brew edit valgrind "и заменил" sourceware.org/git/valgrind.git "на" git: //sourceware.org/git/valgrind.git "в главном разделе кода, затем написал на Iterm" brew install --HEAD valgrind ", но это дает мне:

Last 15 lines from /Users/m/Library/Logs/Homebrew/valgrind/02.configure:
checking for gcc-ar... no
checking for perl... /usr/bin/perl
checking for gdb... /no/gdb/was/found/at/configure/time
checking dependency style of clang... none
checking for diff -u... yes
checking for clang option to accept ISO C99... none needed
checking for a supported version of gcc... ok (clang-11.0.0)
checking build system type... x86_64-pc-darwin
checking host system type... x86_64-pc-darwin
checking for a supported CPU... ok (x86_64)
checking for a 64-bit only build... yes
checking for a 32-bit only build... no
checking for a supported OS... ok (darwin)
checking for the kernel version... unsupported (19.0.0)
configure: error: 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)

READ THIS: https://docs.brew.sh/Troubleshooting

1 Ответ

2 голосов
/ 28 октября 2019

Valgrind в настоящее время не поддерживается в Mac OS 10.15 Catalina. См. Есть ли способ установить Valgrind на Catalina? .

...