To subscribe or unsubscribe via the World Wide Web, visit
http://lists.freebsd.org/mailman/listinfo/freebsd-chat
or, via email, send a message with subject or body 'help' to
freebsd-ch...@freebsd.org
You can reach the person managing the list at
freebsd-c...@freebsd.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of freebsd-chat digest..."
Today's Topics:
1. noob question (david mellick)
2. Re: noob question (Frank Shute)
3. Re: noob question (mdh)
4. Re: noob question (Jason C. Wells)
5. Re: noob question (Frank Shute)
----------------------------------------------------------------------
Message: 1
Date: Tue, 4 Nov 2008 06:17:33 -0800 (PST)
From: david mellick <cactus...@yahoo.com>
Subject: noob question
To: freebs...@freebsd.org
Message-ID: <147712....@web31103.mail.mud.yahoo.com>
Content-Type: text/plain; charset=iso-8859-1
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 ^^ ?
B. I should be able to do --version and get the version right? no matter what directory I am in?
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.
again thanks for helping a noob out.
------------------------------
Message: 2
Date: Wed, 5 Nov 2008 02:21:05 +0000
From: Frank Shute <fr...@shute.org.uk>
Subject: Re: noob question
To: david mellick <cactus...@yahoo.com>
Cc: freebs...@freebsd.org
Message-ID: <20081105022...@melon.esperance-linux.co.uk>
Content-Type: text/plain; charset=iso-8859-1
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
------------------------------
Message: 3
Date: Tue, 4 Nov 2008 18:30:32 -0800 (PST)
From: mdh <mdh_...@yahoo.com>
Subject: Re: noob question
To: david mellick <cactus...@yahoo.com>, Frank Shute
<fr...@shute.org.uk>
Cc: freebs...@freebsd.org
Message-ID: <475579....@web56808.mail.re3.yahoo.com>
Content-Type: text/plain; charset=us-ascii
--- On Tue, 11/4/08, Frank Shute <fr...@shute.org.uk> wrote:
> From: Frank Shute <fr...@shute.org.uk>
> Subject: Re: noob question
> To: "david mellick" <cactus...@yahoo.com>
> Cc: freebs...@freebsd.org
> Date: Tuesday, November 4, 2008, 9:21 PM
>
> 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
The uname -rms command only works on the HURD operating system. It returns the current running version of Richard Stallman on stdout. For FreeBSD users, I suggest the alternate uname -smr command, which returns their OSname, OSversion, and arch on stdout.
- mdh
------------------------------
Message: 4
Date: Tue, 04 Nov 2008 18:11:29 -0800
From: "Jason C. Wells" <j...@highperformance.net>
Subject: Re: noob question
To: cactus...@yahoo.com
Cc: freebs...@freebsd.org
Message-ID: <491100D1...@highperformance.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
david mellick wrote:
> A. is that normal ^^ ?
>
Sure. That is just make telling you what it is doing. If make fails
with an error it will report "Stop Error Code 1" or somesuch.
> B. I should be able to do --version and get the version right? no matter what directory I am in?
>
If the program has a --version option and the binary is installed in a
directory that is listed in $PATH, then yes. Not all programs have a
--version option.
> 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.
>
If your path statement doesn't include the directory where valgrind is
installed, then doing what you have tried will never find valgrind.
Your path should probably include /usr/local/bin and /usr/local/sbin.
Try this:
find / -name prog_name
to discover the location of prog_name. Then see if that directory is in
your path.
If the binary is installed in the $PATH, then trying to run the program
from each directory is redundant. By the way, to run a program from the
current working directory, you must use the command './prog_name' to be
sure that you are running the command from the current directory and not
some other program of the same name in a different directory listed in
$PATH. In DOS, the current working directory is searched for programs
before the $PATH. Not so in the typical unix shell.
We typically ask questions on the freebsd-questions list.
Later,
Jason
------------------------------
Message: 5
Date: Wed, 5 Nov 2008 06:31:34 +0000
From: Frank Shute <fr...@shute.org.uk>
Subject: Re: noob question
To: mdh <mdh_...@yahoo.com>
Cc: freebs...@freebsd.org
Message-ID: <20081105063...@melon.esperance-linux.co.uk>
Content-Type: text/plain; charset=us-ascii
On Tue, Nov 04, 2008 at 06:30:32PM -0800, mdh wrote:
>
> >
> > 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
>
> The uname -rms command only works on the HURD operating system. It
> returns the current running version of Richard Stallman on stdout.
> For FreeBSD users, I suggest the alternate uname -smr command, which
> returns their OSname, OSversion, and arch on stdout.
>
:)
If RMS runs like the HURD, then he's probably suffering from some
lengthy, terminal disease ;)
FreeBSD should return the OS details for uname -beast
Could be used in send-pr etc. and is easy to remember like -rms!
Regards,
--
Frank
Contact info: http://www.shute.org.uk/misc/contact.html
------------------------------
End of freebsd-chat Digest, Vol 283, Issue 1
********************************************