/usr/local/bin is also in /etc/paths

if I echo $PATH, I get

/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin

Thanks,

Bryan

On Thu, Jan 20, 2011 at 1:33 PM, Bryan Emrys <bryan.emrys@gmail.com> wrote:
Eric,

.profile has:
# MacPorts Installer addition on 2009-04-08_at_20:48:37: 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.



On Thu, Jan 20, 2011 at 1:28 PM, Erik Iverson <eriki@ccbr.umn.edu> wrote:


Bryan Emrys wrote:
Hi,

Now getting an error message: /bin/bash: dot: command not found

Hmm. Pathname issue?

Absolutely.



On the mac, dot is in /opt/local/bin/dot
My .emacs file has: (setq load-path (cons "/opt/local/bin" load-path))


That won't add anything to your shell's path, it's just where Emacs
looks for code to load.


I can certainly just open a terminal window and run dot from the command line.

Can you grep your shell startup files and find out which one adds
/opt/local/bin to the path?