Existing users, log in.  New users, create a free account.  Lost password?

Mac OS X  |  System / Utilities  |  Other System / Utilities  |  MacPorts  |  Help please! Why doesn't it work?

MacPorts

MacPorts

Install various open-source software packages on Mac OS X.

Version:  1.8.1

   [ Views: 1454 ]

Help please! Why doesn't it work?

Feedback Type:  Troubleshooting Report

Contributed by: Brennan Young Saturday, February 25 2006 @ 07:29 AM PST

Product Platform: MacOSX

Used Product For: Have Not Tried

I followed the instructions, running the 1.2 installer, then typing
sudo port -d selfupdate
and it tells me
sudo: port: command not found
I even changed the .profile file as described below- no joy. What am I doing wrong? Oh I am using Tiger 10.4.5, freshly installed quite recently. I haven't been messing with Fink since upgrading to Tiger.   
System Info:Tiger 10.4.5

0 of 1 users found this helpful.

Rate this Troubleshooting Report

Was this Troubleshooting Report helpful? Yes | No

Comments

2 comments |

Help please! Why doesn't it work? - Brennan Young

Answering my own question here: Having messed with this a bit, it's now clear that after /opt/local/bin has to be added to $PATH. I had done this but apparently it requires a logout before it works (and I have far too many important apps running to just log out willy nilly)
Well, I just typed
export PATH=$PATH:/opt/local/bin
at the terminal, and lo! 'port' is suddenly understood. Good luck all!

Reply to This

Sunday, February 26 2006 @ 01:38 AM PST


Help please! Why doesn't it work? - _kung_foo_

You don't need to log out, just close the terminal session and start a new one.

Reply to This

Thursday, April 13 2006 @ 12:15 AM PDT