|
From: Apivadee P. <api...@un...> - 2010-01-14 11:32:04
|
Hello, First of all, I am a novice. I just want to check all memory used of a c program and think that valgrind can give me that. The problem I encounter now are 1. using this valgrind command $ valgrind -v --tool=massif myprog on the cluster of my university (version 3.3.1) and there is no .ps file nor massif.out.<pid>, where <pid> is the process ID 2. So, I tried to install the latest version (3.5.0) on my macbook pro, but failed. I followed the instruction (http://valgrind.org/docs/manual/dist.install.html ), and notice that while make to compile some errors occur: make[2]: Nothing to be done for `all'. I do $ make check and... make[2]: Nothing to be done for `check'. I tried $ make install and... make install-recursive Making install in include make[3]: Nothing to be done for `install-exec-am'. test -z "/usr/local/include/valgrind" || /Users/Sea/Downloads/ valgrind-3.5.0/install-sh -d "/usr/local/include/valgrind" mkdir: /usr/local/include/valgrind: Permission denied make[3]: *** [install-nobase_pkgincludeHEADERS] Error 1 make[2]: *** [install-am] Error 2 make[1]: *** [install-recursive] Error 1 make: *** [install] Error 2 Could you please suggest what I miss? Sincerely Yours, Apivadee |