|
From: Alla _ <mod...@gm...> - 2016-03-15 12:52:48
|
Thank you for your help! I have installed it using sudo make install. It works now. On Tue, Mar 15, 2016 at 4:04 PM, Alexander Potapenko <gl...@go...> wrote: > It will be accessible, but you'll have to provide the full path to the > binary, e.g. > $ /path/to/valgrind/source/inst/bin/valgrind ./your_program > > If you want to just type `valgrind`, you'll need to either install it > to /usr/local, or add /path/to/valgrind/source/inst/bin/ to your > PATH: > $ export PATH="$PATH:/path/to/valgrind/source/inst/bin/" > > HTH > > On Tue, Mar 15, 2016 at 12:30 PM, Alla _ <mod...@gm...> wrote: > > Alexander, > > Thank you very much for your answer. > > > > One more question: > > > > if I have the Valgrind package stored within my local directory together > > with usual documents and study programs, and if I manage to successfully > > install Valgrind (I will follow your advice now), do I understand > correctly > > that > > it will be accessible from the Terminal, i.e. it doesn't matter where the > > original > > package is stored? > > > > Thank you! > > Best, > > Alla > > > > On Tue, Mar 15, 2016 at 3:12 PM, Alexander Potapenko <gl...@go...> > > wrote: > >> > >> Looks like you're trying to install to /usr/local with insufficient > >> privileges. > >> You can either run `sudo make install` to install as root, or > >> configure the build to put the binaries into a local directory: > >> $ ./autogen.sh > >> $ ./configure --prefix=`pwd`/inst > >> $ make && make install > >> > >> On Tue, Mar 15, 2016 at 11:41 AM, Alla _ <mod...@gm...> > wrote: > >> > Hello! > >> > > >> > I am a newbie, learning C programming. Have just tried to install > >> > Valgrind, > >> > following instructions in the README. Installation failed. My system: > >> > Mac OS > >> > X 10.7.5 > >> > > >> > Here are the steps I made: > >> > > >> > installed > >> > > >> > curl -OL http://ftpmirror.gnu.org/autoconf/autoconf-latest.tar.gz > >> > tar -xzf autoconf-latest.tar.gz > >> > cd autoconf-[x.xx] > >> > ./configure && make && sudo make install > >> > > >> > curl -OL http://ftpmirror.gnu.org/automake/automake-1.15.tar.gz > >> > tar -xzf automake-1.15.tar.gz > >> > cd automake-1.15 > >> > ./configure && make && sudo make install > >> > > >> > cd valgrind-3.11.0 > >> > ./autogen.sh > >> > ./configure > >> > > >> > make > >> > > >> > make install > >> > > >> > Here is the message I got in Terminal after make install command: > >> > make install-recursive > >> > Making install in include > >> > make[3]: Nothing to be done for `install-exec-am'. > >> > .././install-sh -c -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 > >> > > >> > > >> > > >> > Respectfully, > >> > Alla > >> > > >> > > >> > > >> > > ------------------------------------------------------------------------------ > >> > Transform Data into Opportunity. > >> > Accelerate data analysis in your applications with > >> > Intel Data Analytics Acceleration Library. > >> > Click to learn more. > >> > http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140 > >> > _______________________________________________ > >> > Valgrind-users mailing list > >> > Val...@li... > >> > https://lists.sourceforge.net/lists/listinfo/valgrind-users > >> > > >> > >> > >> > >> -- > >> Alexander Potapenko > >> Software Engineer > >> > >> Google Germany GmbH > >> Erika-Mann-Straße, 33 > >> 80636 München > >> > >> Geschäftsführer: Matthew Scott Sucherman, Paul Terence Manicle > >> Registergericht und -nummer: Hamburg, HRB 86891 > >> Sitz der Gesellschaft: Hamburg > > > > > > > > > > -- > > Respectfully, > > Alla > > > > > > -- > Alexander Potapenko > Software Engineer > > Google Germany GmbH > Erika-Mann-Straße, 33 > 80636 München > > Geschäftsführer: Matthew Scott Sucherman, Paul Terence Manicle > Registergericht und -nummer: Hamburg, HRB 86891 > Sitz der Gesellschaft: Hamburg > -- *Respectfully,* *Alla* |