"port: command not found" after installing
MacPorts-1.6.0-10.5-Leopard.dmg
Esteban Barahona
esteban.barahona at gmail.com
Sat Feb 9 12:57:53 PST 2008
El feb 9, 2551 BE, a las 03:20, Kok-Yong Tan escribió:
>> .profile is a place for you to customize your shell. It's fine to
>> start from any empty file, if you have no other customizations you
>> want to make.
>>
>> If you have a .bash_profile, that gets used instead of .profile so
>> you should modify .bash_profile instead. If you have neither, you
>> can create either and modify it.
>>
>>
>> It should contain a line like this:
>>
>> export PATH=/opt/local/bin:/opt/local/sbin:$PATH
>>
>>
>> I'm on Tiger, so my .bash_profile also contains this line:
>>
>> export DISPLAY=:0.0
>>
>> If you're on Leopard, do not add that line; DISPLAY is already set
>> up for you by the operating system.
>>
>>
>> Add this line only if "man port" does not show you the port manpage:
>>
>> export MANPATH=/opt/local/share/man:$MANPATH
>>
>>
>> Note that after changing your .bash_profile you need to open a new
>> Terminal window. Any Terminal windows already open won't inherit
>> the changes.
>
>
> Not by itself. But if you want any already open Terminal window to
> inherit the changes, just enter this at the command prompt:
>
> . .bash_profile
>
> It'll suck in the contents of .bash_profile (or any other similar
> file). Hope this helps.
Thanks a lot, the "port: command not found" error message didn't
appear... time to build some apps ^_^
The problem was that I thought "export" was to be typed on the
terminal, NOT on the .profile file.
More information about the macports-users
mailing list