|
From: Yao Qi <qiy...@cn...> - 2005-10-28 06:18:29
|
Tom Hughes wrote: > 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. I have tried again to export VALGRIND_LIB at .in_place directory and coregrind/valgrind works. Thank you. > > 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. I just want to have a try when I read README_DEVELOPERS, and I have tried --prefix option, thanks again. > > Tom > -- Regards, Yao Yao Qi |