Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

jvaska

macrumors 6502
Original poster
Just installed them...the installer finished just fine. But I can't figure out how to get access to them - via Terminal?

Problem is that when I try to get the most recent copy of Apache:

sudo port install Apache

I get this message back:

-bash: port: command not found

So, where does this leave me (it does this after a reboot as well). I'm not sure how to get to Darwin Ports, I guess.

Can't find my help in the documentation - it's pretty new stuff. Any help out there?

Thanks, v
 
fix

I was having this problem as well. In my case, the install script had failed to properly add the path of the program to my shell profile. I use bash, so I added the lines:
Code:
PATH = "/opt/local/bin:/opt/local/sbin:${PATH}"
export PATH
to my .bash_profile file.
or you can just refer to it as /opt/local/bin/port instead of just port.

Hope that helps.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.