Error installing valgrind

20,151

Solution 1

brew install automake 

Then you can use aclocal

Solution 2

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.

Solution 3

If you install brew , then use brew install automake and brew install autoconf

Solution 4

You don't have autotools installed. If you want to run autogen.sh you will have to install it first.

But if you just want to install valgrind you don't need to run autogen.sh. Download latest source package from valgrind.org, extract it and run ./configure script.

$ ./configure
$ make
$ sudo make install

However, if your system is Yosemite, you will probably need latest development version from svn and you will have to install autotools first.

Share:
20,151
DRINK
Author by

DRINK

Updated on May 26, 2020

Comments

  • DRINK
    DRINK almost 4 years

    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?

  • e76d587d9
    e76d587d9 over 8 years
    As of Valgrind 3.11.0 there should be reasonable Yosemite (OS X 10.10) support out of the box.