|
From: Tom H. <to...@co...> - 2005-10-27 10:57:46
|
In message <436...@cn...>
Yao Qi <qiy...@cn...> wrote:
> I just start to use valgrind from scratch and I met a problem when I set
> VALGRIND_LIB per README_DEVELOPERS as follows. Maybe someone of you could
> clarify for me. Thanks in advance.
>
> At the fifth line of README_DEVELOPERS, it is said that "run
> coregrind/valgrind with the VALGRIND_LIB environment variable set, where <dir>
> is the root of the source tree".
>
> I set VALGRIND_LIB like this,
> [qiyao@localhost valgrind]$ export VALGRIND_LIB=/home/qiyao/valgrind
> and run valgrind like this,
> [qiyao@localhost valgrind]$ coregrind/valgrind
> valgrind: failed to start tool 'memcheck': Permission denied
I just read README_DEVELOPERS again and you haven't actually done what
it said - you are supposed to point VALGRIND_LIB at the .in_place
directory. I've just tried that and it seems to work for me.
That said I still say it's easier just to install it - it's what I do
all the time, configure with --prefix pointing at a temporary area and
do a make install and run the installed version.
Tom
--
Tom Hughes (to...@co...)
http://www.compton.nu/
|