View Single Post
Old 2008-01-30, 19:43   Link #19
Epyon9283
Geek
 
 
Join Date: Dec 2005
Location: New Jersey
Age: 40
Send a message via ICQ to Epyon9283 Send a message via AIM to Epyon9283
If the output of "echo $PATH" doesn't look like the following then you need to change your ~/.profile
Code:
Mac-Pro:~ tom$ echo $PATH
/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin
To edit the file in the terminal, type the following:
Code:
nano ~/.profile
You should see something like this:


Enter in the PATH and MANPATH lines I posted earlier. To save and exit, hit ctrl+x and then y to save.

Then after doing that, either close the terminal and go back in or type "source ~/.profile" to update your paths in your existing session.

Once you do that you should have access to the port command. You'll need root access to use the command though so run it with sudo. For example "sudo port install squid."
Epyon9283 is offline   Reply With Quote