|
From: Daniel B. <dlb...@ho...> - 2011-11-30 20:19:34
|
Sir, I just downloaded valgrind-3.7.0.tar.bz2 and have been trying to install it onto SUSE Linux Enterprise Server 11. As per the manual (page 69) I run the following (as su). ./configure make make install After that, if I type in "valgrind ls -l" (as su), the command works. valgrind ls -l ==8511== Memcheck, a memory error detector ==8511== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al. ==8511== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info ==8511== Command: ls -l(snip) ==8511== For counts of detected and suppressed errors, rerun with: -v ==8511== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 2 from 2) BUT... as a generic user I get the following. valgrind ls -l valgrind: failed to start tool 'memcheck' for platform 'amd64-linux': Permission denied I have uninstall-ed and reinstalled this several times (as 64 bit only and a few other options) but always end up with the same issue.I seriously don't want to run the program I'm trying to debug as root so I'm kind of stuck. Any advise would be appreciated, Thank you for your time and attention. |
|
From: Maynard J. <may...@us...> - 2011-12-01 15:22:43
|
On 11/30/2011 2:19 PM, Daniel Buss wrote: > Sir, > > I just downloaded valgrind-3.7.0.tar.bz2 > <file:///C:/Documents%20and%20Settings/dan/My%20Documents/Downloads/valgrind-3.7.0.tar.bz2> > and have been trying to install it onto SUSE Linux Enterprise Server 11. > > As per the manual (page 69) I run the following (as su). > ./configure > make > make install > > After that, if I type in "valgrind ls -l" (as su), the command works. > valgrind ls -l > ==8511== Memcheck, a memory error detector > ==8511== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al. > ==8511== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info > ==8511== Command: ls -l > (snip) > ==8511== For counts of detected and suppressed errors, rerun with: -v > ==8511== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 2 from 2) > > BUT... as a generic user I get the following. > valgrind ls -l > valgrind: failed to start tool 'memcheck' for platform 'amd64-linux': Permission > denied What are the permissions on <valg-install-dir>/lib/valgrind/memcheck-amd64-linux (might be "lib64/valgrind" vs "lib/valgrind)"? I think the executable permissions bit should be set for everyone -- install user (root, in your case), group, and others. -Maynard > > I have uninstall-ed and reinstalled this several times (as 64 bit only and a few > other options) but always end up with the same issue. > I seriously don't want to run the program I'm trying to debug as root so I'm > kind of stuck. > > Any advise would be appreciated, > > Thank you for your time and attention. > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure > contains a definitive record of customers, application performance, > security threats, fraudulent activity, and more. Splunk takes this > data and makes sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-novd2d > > > > _______________________________________________ > Valgrind-users mailing list > Val...@li... > https://lists.sourceforge.net/lists/listinfo/valgrind-users |