Benjamin, yes, I was looking this up last night too, and found that I do need to change my path, so will check out the link you sent along. I do know how to open .bash_profile with pico, but would rather not change it until I can figure out a way to back it up.

  I can't seem to locate the file.  Any tips?…

<smile> I just don't want to go messing with my system until I actually know *EXACTLY* what I need to do and then do it in the simplest way possible. lol!

  anyway, thanks so much and have a lovely day!…

Smiles,

Cara  :)


On Mar 19, 2008, at 12:29 AM, Benjamin Hawkes-Lewis wrote:

Cara Quinn wrote:
sudo port selfupdate
and while I get the password query, I then am told that the sudo command isn't recognized. I'm assuming I'm just needing to cd to the correct folder where MacPorts is installed, but shouldn't this just be recognized system-wide?…

That command works for me everywhere. I suspect the problem might be that you don't have the MacPorts directories in your path.

What's the output of the following command:

echo $PATH

For comparison purposes my path begins with:

/opt/local/bin:/opt/local/sbin

which are the MacPorts executable directories. The port executable is in /opt/local/bin.

If this is indeed your problem, look to

http://www.macports.org/install.php#source

for a discussion of what your path needs to contain.

http://www.oreillynet.com/lpt/a/4641

briefly mentions how to set your path (under the heading "Customizing Your Environment").

http://www.tech-recipes.com/rx/2621/os_x_change_path_environment_variable

is a longer discussion of same.

--
Benjamin Hawkes-Lewis


---
View my Online Portfolio at:
http://www.onemodelplace.com/CaraQuinn


Reply via email to