Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error installing valgrind

Tags:

macos

valgrind

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?

like image 712
DRINK Avatar asked Apr 29 '15 08:04

DRINK


People also ask

Is Valgrind on macOS?

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.


2 Answers

brew install automake  

Then you can use aclocal

like image 104
庄景鹏 Avatar answered Sep 23 '22 03:09

庄景鹏


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.

like image 36
e76d587d9 Avatar answered Sep 20 '22 03:09

e76d587d9