i try to install valgrind on my mac but when I execute ./autogen.sh
get this error:
running: aclocal ./autogen.sh: line 6: aclocal: command not found error: while running 'aclocal'
does anybody know how to solve this?
Valgrind for macOSThis repository contains a version of Valgrind including a few patches to improve support for the macOS platform. It is maintained by Louis Brunner.
brew install automake
Then you can use aclocal
Two third party tools (autoconf and automake) are required on your system to build and install a development version of Valgrind. These tools are no longer packaged with Apple's Xcode development environment and must be installed manually.
To install these tools, enter the following commands in the Terminal:
curl -OL http://ftpmirror.gnu.org/autoconf/autoconf-latest.tar.gz tar -xzf autoconf-latest.tar.gz cd autoconf-[x.xx] ./configure && make && sudo make install curl -OL http://ftpmirror.gnu.org/automake/automake-1.15.tar.gz tar -xzf automake-1.15.tar.gz cd automake-1.15 ./configure && make && sudo make install
You will then be able to continue following the steps per: http://valgrind.org/downloads/repository.html
If you are on OS X, you will want to use a development version of Valgrind at present whilst that platform's support is brought back up to standard.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With