sudo: port: command not found

218 views
Skip to first unread message

ner...@gmail.com

unread,
Apr 14, 2008, 3:49:13 AM4/14/08
to Django users
I just installed MacPorts as instructed with X11 and XCode 3.0 on OSX
version 10.5.2 MacBook and I'm not finding the usual .bash_profile
or .profile and therefore get this error.

Thanks for any help,

Jason

Horst Gutmann

unread,
Apr 14, 2008, 3:57:49 AM4/14/08
to django...@googlegroups.com
Uhmm.... and this has what exactly to do with Django? ;-)

But in general, just add this to your ~/.profile (just create it if
you don't have it)

export PATH=/opt/local/bin:/opt/local/sbin:$PATH
export MANPATH=/opt/local/man:$MANPATH
export LD_LIBRARY_PATH=/opt/local/lib:$LD_LIBRARY_PATH

(among other things if you also want to compile against headers there etc.)

- Horst

Reply all
Reply to author
Forward
0 new messages