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?
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?
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.
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.