Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jan 2002 13:25:33 -0500 (EST)
From:      "C J Michaels" <cjm2@earthling.net>
To:        <tomkersten98@yahoo.com>
Cc:        <freebsd-questions@freebsd.org>
Subject:   Re: this is not working....
Message-ID:  <2748.216.153.201.159.1010773533.squirrel@www.27in.tv>
In-Reply-To: <20020111175242.3062.qmail@web10004.mail.yahoo.com>
References:  <20020111175242.3062.qmail@web10004.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
When you type the full path to to the program, does it start?

e.g. # /usr/X11R6/bin/xxx  ?

I didn't see where you answered that.

Also, is /usr/X11R6/bin in your PATH?

  (csh based shells, "printenv | grep PATH")
  (sh based shells, "set | grep path")

--Chris

Tom Kersten said:
>
> --- C J Michaels <cjm2@earthling.net> wrote:
>> Tom,
>>
>> Try typing the full path to the program, e.g.
>> /usr/bin/xxx  (I won't get
>> into putting ports in /usr/bin, that's another
>> topic.)
>>
>
> I apologize, it was /usr/X11R6/bin....my mistake...
>
>
>> The shell keeps a cache of all the programs that are
>> in it's path, which it
>> generates when that shell is started.
>>
>> I don't know which shell you are using, but if it's
>> csh or tcsh, simply
>> type "rehash" after installing your port.  This will
>> rebuild the cache.
>>
>> If it's bourn based "sh, bash, etc..." I believe the
>> command is "hash".
>>
>
> I tried both of these....with no luck....
>
>
>> This was just discussed yesterday, so you could look
>> through the archives
>> also.
>
> I have looked through the archives. I am having
> trouble finding anything relating to what the core of
> my problem is...which stems from trying to set up
> CVSup, I think. I am a lost puppy ...none of the
> requested things have worked...I don't know if I
> should reinstall everything (like in some *other*
> environments) and just get it how I had it before, or
> try to fix it, 'cuz I am like a fish out of water
> right now....thanks for the tips
>
> Thomas
>
>
>>
>> --Chris
>>
>> Tom Kersten said:
>> > Hello again,
>> >
>> > I am having trouble running programs now. I have
>> > cvsup'd my ports tree and it seems to have the
>> correct
>> > umask now (for those of you reading my previous
>> > threads)...but...now when I install a program I
>> can't
>> > run it with any user except the root. I changed
>> > permissions like so:
>> >
>> > #cd /usr/bin/xxxx
>> > #chmod 755 ./xxxx
>> >
>> > It then appears to have a permission allowing
>> users to
>> > execute it, but I still get a "command not found"
>> > error. I have checked my path and it has /usr/bin
>> in
>> > it and never had these problems before trying the
>> > cvsup thing....it seems that that process has
>> > unleashed an infinite number of disasters for
>> > me....(all my fault, of course). My first question
>> > is...why isn't it finding the command? Secondly,
>> why
>> > are things installing w/ the wrong
>> permissions...my
>> > umask is still 022????????? Please help me...I am
>> at
>> > the end of my rope....
>> >
>> > TIA,
>> >
>> > Thomas
>>
>> --
>> Chris
>>
>> "I'll defend to the death your right to say that,
>> but I never said I'd
>> listen to it!"
>>      -- Tom Galloway with apologies to Voltaire
>>
>>
>>
>> To Unsubscribe: send mail to majordomo@FreeBSD.org
>> with "unsubscribe freebsd-questions" in the body of
>> the message
>
>
> __________________________________________________
> Do You Yahoo!?
> Send FREE video emails in Yahoo! Mail!
> http://promo.yahoo.com/videomail/


-- 
Chris

"I'll defend to the death your right to say that, but I never said I'd
listen to it!"
     -- Tom Galloway with apologies to Voltaire



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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