0

I am running in the problems while I am installing valgrind. So, I uninstall everything and I am looking for good tutorial to follow. please help me out.

Sincerely -salem

uraimo
  • 19,081
  • 8
  • 48
  • 55
  • I download the zip folder. then I unzip it, ./configure. Once I typed make, this error came up make: *** No targets specified and no makefile found. Stop. – Salem Alqahtani Jul 02 '15 at 15:05

1 Answers1

1

If you don't need a specific version and want something quick, have you tried installing it with homebrew?

Install homebrew first, and then you can install valgrind with a specific formula:

brew install valgrind
uraimo
  • 19,081
  • 8
  • 48
  • 55
  • I did and this error appear on the command line screen wireless1x-155-41-107-164:~ hdamin$ brew install valgrind Error: Cannot write to /usr/local/Cellar wireless1x-155-41-107-164:~ hdamin$ – Salem Alqahtani Jul 02 '15 at 16:43
  • wireless1x-155-41-107-164:~ hdamin$ sudo brew install valgrind Error: Cowardly refusing to `sudo brew install` You can use brew with sudo, but only if the brew executable is owned by root. However, this is both not recommended and completely unsupported so do so at your own risk. wireless1x-155-41-107-164:~ hdamin$ – Salem Alqahtani Jul 02 '15 at 17:52
  • Do a `sudo chown -R $USER /usr/local` as explained here: https://stackoverflow.com/questions/4804169/installing-in-homebrew-errors – uraimo Jul 02 '15 at 18:02
  • sudo brew install valgrind Error: Cowardly refusing to `sudo brew install` You can use brew with sudo, but only if the brew executable is owned by root. However, this is both not recommended and completely unsupported so do so at your own risk. smp:~ hdamin$ – Salem Alqahtani Jul 03 '15 at 15:12
  • That was a permission issue, now that the issue is fixed with `chown`, you can simply do `brew install valgrind` :) – uraimo Jul 03 '15 at 15:19