[SOLVED] Re: sudo: port: command not found

Joshua Root jmr at macports.org
Mon Jan 12 04:59:04 PST 2009


Forwarding to the list so everyone else knows this is solved.

Marion Dumas wrote:
> Dear Joshua,
> Thank you. Indeed, I thought I had the latest version, but it was
> indeed 1.6.0. The command port now works.
> Best
> Marion
> 
> On Mon, Jan 12, 2009 at 12:45 PM, Joshua Root <jmr at macports.org> wrote:
>> Marion Dumas wrote:
>>> Hello,
>>> I just installed the latest version of MacPorts for Leopard, but the
>>> command port does not work (error message; sudo: port: command not
>>> found). I am not very experienced with Unix, so I am not too sure what
>>> is going wrong. Could anybody help?
>> Just to check, the latest version is 1.7.0, is that what you have? There
>> was a common problem with 1.6.0 that could cause this.
>>
>> If you do have 1.7.0, you probably have a .bash_profile or .bash_login
>> file in your home folder, which will override the .profile that the
>> MacPorts installer uses. Possible solutions are to copy the contents of
>> .profile to the whichever config file that you are using, or just
>> include .profile in the other file by adding a line like so:
>>
>> . ~/.profile
>>
>> - Josh


More information about the macports-users mailing list