"port: command not found" after installing MacPorts-1.7.1-10.5-Leopard

Lokeshwaran dlokesh at gmail.com
Tue May 12 22:53:43 PDT 2009


Hi,

I'm using zsh as my default shell and the .profile file contains the
following:

*# MacPorts Installer addition on 2009-05-05_at_22:14:59: adding an
appropriate PATH variable for use with MacPorts.
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
# Finished adapting your PATH environment variable for use with MacPorts.


# MacPorts Installer addition on 2009-05-05_at_22:14:59: adding an
appropriate MANPATH variable for use with MacPorts.
export MANPATH=/opt/local/share/man:$MANPATH
# Finished adapting your MANPATH environment variable for use with MacPorts.
*

And following is the output of the env command:

*MANPATH=/usr/share/man:/usr/local/share/man:/usr/X11/man:/usr/local/git/man
TERM_PROGRAM=Apple_Terminal
TERM=xterm-color
SHELL=/bin/zsh
TMPDIR=/var/folders/gi/gi-FyLQWGT4dmqD1cxBcek+++TI/-Tmp-/
Apple_PubSub_Socket_Render=/tmp/launch-j8GB9V/Render
TERM_PROGRAM_VERSION=240
USER=lokeshwaran
COMMAND_MODE=unix2003
SSH_AUTH_SOCK=/tmp/launch-Dm0fLA/Listeners
__CF_USER_TEXT_ENCODING=0x1F5:0:0
PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/git/bin
PWD=/Users/lokeshwaran
SHLVL=3
HOME=/Users/lokeshwaran
LOGNAME=lokeshwaran
LC_CTYPE=UTF-8
DISPLAY=/tmp/launch-pkagoq/:0*

Clearly, the PATH variables defined in .profile is not set. Does zsh not
read from .profile? Or should something else be done for macports to work
with zsh?

Thanks.

-- 
Lokeshwaran D
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20090513/f620b513/attachment.html>


More information about the macports-users mailing list