2

I downloaded the newest Valgrind and extracted it.

I run

./configure --prefix=/usr/local/valgrind
make

which gives me

make: *** No targets specified and no makefile found.  Stop.

I run

make install

It gives me

make: Nothing to be done for `install'.

How can you install Valgrind to the newest OS X?

1
  • Did you cd into the newly created directory? You have to be in the directory after you extract it to run those commands.
    – user43633
    Jul 7, 2015 at 0:54

2 Answers 2

3

Version 3.4.1 is incompatible with Mac OS X as far as I know. As it wasn't until more recently (May 2009 - 3.4.1 was released in February 2009) that valgrind was given "compatibility." The Mac OS X port is as quoted from the Mac OS X page:

This port is UNSUPPORTED and INCOMPLETE and BUGGY

You'll need to get the latest from svn as documented on valgrind.org:

svn co svn://svn.valgrind.org/valgrind/trunk valgrind
cd valgrind
./autogen.sh
./configure --prefix=...
make
make install

You will need autoconf and automake as well that can be most easily installed using MacPorts

For debugging the "configure, make, make install" dance:

Did you see what error in the configure phase came up? You can't make (and subsequently install using make install) unless the configuration works correctly.

0
1

The instructions say you need to do ./autogen.sh before make.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .