Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Nov 2008 02:21:05 +0000
From:      Frank Shute <frank@shute.org.uk>
To:        david mellick <cactushugger1@yahoo.com>
Cc:        freebsd-chat@freebsd.org
Subject:   Re: noob question
Message-ID:  <20081105022105.GA32302@melon.esperance-linux.co.uk>
In-Reply-To: <147712.83284.qm@web31103.mail.mud.yahoo.com>
References:  <147712.83284.qm@web31103.mail.mud.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Nov 04, 2008 at 06:17:33AM -0800, david mellick wrote:
>
> hello I am new to freeBSD so bare with the stupid questions
> 
> (updated ports did port snap yadayada..)
> 
> trying to use the valgrind mod  (http://valgrind.org/)
> 
> i have mounted  proc and ee fstab according to google's instruction
> 
> then did a make install in the valgrind ports directory.
>
> I have no idea what is considered normal or if it is blowing  up, I
> get lots of text that i dont fully understand ill copy and paste
> some just to make sure its the norm.  
> 
> ___________________________________________________________________________
> gmake[3]: Leaving directory
> `/usr/ports/devel/valgrind/work/valgrind-stable-352/lackey/tests'
> gmake[2]: Leaving directory
> `/usr/ports/devel/valgrind/work/valgrind-stable-352/lackey' Making
> all in none gmake[2]: Entering directory
> `/usr/ports/devel/valgrind/work/valgrind-stable-352/none' Making all
> in .  gmake[3]: Entering directory
> `/usr/ports/devel/valgrind/work/valgrind-stable-352/none' if cc
> -DHAVE_CONFIG_H -I. -I. -I..  -I../include
> -DVG_LIBDIR="\"/usr/local/lib"\"   -Winline -Wall -Wshadow -O
> -fomit-frame-pointer -mpreferred-stack-boundary=2 -g  -MT nl_main.o
> -MD -MP -MF ".deps/nl_main.Tpo" -c -o nl_main.o nl_main.c; \
>         then mv -f ".deps/nl_main.Tpo" ".deps/nl_main.Po";
> else rm -f ".deps/nl_main.Tpo"; exit 1; fi cc  -Winline -Wall
> -Wshadow -O -fomit-frame-pointer -mpreferred-stack-boundary=2
> -g    -o vgskin_none.so -shared -Wl,-rpath,../coregrind nl_main.o
> mkdir -p ../.in_place rm -f ../.in_place/vgskin_none.so ln -f -s
> ../none/vgskin_none.so ../.in_place/vgskin_none.so gmake[3]: Leaving
> directory `/usr/ports/devel/valgrind/work/valgrind-stable-352/none'
> Making all in docs gmake[3]: Entering directory
> `/usr/ports/devel/valgrind/work/valgrind-stable-352/none/docs'
> gmake[3]: Nothing to be done for `all'.  gmake[3]: Leaving directory
> `/usr/ports/devel/valgrind/work/valgrind-stable-352/none/docs'
> Making all in tests gmake[3]: Entering directory
> `/usr/ports/devel/valgrind/work/valgrind-stable-352/none/tests'
> gmake[3]: Nothing to be done for `all'.  gmake[3]: Leaving directory
> `/usr/ports/devel/valgrind/work/valgrind-stable-352/none/tests'
> gmake[2]: Leaving directory
> `/usr/ports/devel/valgrind/work/valgrind-stable-352/none' gmake[1]:
> Leaving directory
> `/usr/ports/devel/valgrind/work/valgrind-stable-352'
> __________________________________________________________________________
> 
> A.  is that normal ^^ ?

Yeah, that looks normal. It should be fairly obvious if a port build
fails i.e it tells you in fairly certain terms. If that is the case,
post the error messages & a few lines before it starts to blow up.

> 
> B. I should be able to do --version and get the version right?  no
> matter what directory I am in? 

Maybe ;)

> 
> 
> It is telling me command not found so did i not install it properly
> or do i have to be in a special directory?
> 
> I did  the echo $path command and went to all the listed locations
> to try and run the --version command to no avail.   

An easy way to see whether a command is in your path is whereis(1)

What you probably have to do is:

# rehash

if you're root or

$ hash

if you're an ordinary user. These commands make your shell rescan the
dirs in it's $PATH.

> 
> 
> again thanks for helping a noob out.
> 

No worries.

A couple of tips for the future: address your questions to questions@
rather than chat@ and preface your question with the output of: 

$ uname -rms

Regards,

-- 

 Frank 


 Contact info: http://www.shute.org.uk/misc/contact.html 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081105022105.GA32302>