help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gdb hangs in Emacs 23.2.1 (Mac OSX 10.6.3)


From: Dylan
Subject: Re: gdb hangs in Emacs 23.2.1 (Mac OSX 10.6.3)
Date: Tue, 8 Feb 2011 16:48:19 -0800 (PST)
User-agent: G2/1.0

> If you want an UNIX system find a particular version of an executable  
> *before* its other version, then you set the first version's path  
> *before* that of the second version. So MacPorts's /opt/local/bin  
> should come early (usually it is set first in your login shell's RC  
> file) in PATH. And you need to exactly name the complete path to  
> executable, i.e., /opt/local/bin, because in /opt/local/bin the other  
> gdb is located.
>
> After changes in ~/.MacOSX/environment.plist you need to log off and  
> in again to have them valid. (No MS reboot.) You do not need MANPATH?
>
> PATH=/opt/local/bin:/opt/local/sbin:/Users/pete/bin:/usr/local/texlive/
> 2010/bin/universal-darwin:/Developer/usr/bin:/usr/bin:/bin:/sbin:/usr/
> sbin:/usr/local/bin:/usr/X11/bin:/Developer/Tools

I updated my environment.plist file to look like this:


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://
www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
  <key>PATH</key>
  <string>/opt/local/bin:/opt/local/sbin:/usr/bin:/usr/sbin:/usr/local/
bin:/Developer/Tools:/Developer/usr/bin:</string>
  <key>MANPATH</key>
  <string>/usr/X11/share/man:/usr/local/share/man:/Users/Dylan/man:/
Developer/usr/X11/share/man/man3</string>
  <key>PYTHONPATH</key>
  <string>/Library/Frameworks/Python.framework/Versions/2.7/bin</
string>
  <key>SuperCollider</key>
  <string>/Users/Dylan/Library/Application Support/SuperCollider:/
Applications/SuperCollider</string>
</dict>
</plist>

Yet I still can't get Emacs to locate fsf-gdb (in /opt/local/bin).
Just to make sure I am not missing something, here is what I have in
my .bash_profile:

PATH="$PATH:/Users/Dylan/Library/Application Support/SuperCollider"
export PATH

PATH="$PATH:/Applications/SuperCollider"
export PATH

PATH="$PATH:/usr/share/TargetConfigs/bin"
export PATH

# Setting PATH for Java
export PATH=/usr/bin/java:$PATH

# Setting PATH for Python 2.7
# The orginal version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/2.7/bin:${PATH}"
export PATH

# MacPorts Installer addition on 2010-07-28_at_22:39:20: 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.

When I type the command echo $PATH in Terminal, this is what comes
back:

/opt/local/bin:/opt/local/sbin:/Library/Frameworks/Python.framework/
Versions/2.7/bin:/usr/bin/java:/usr/bin:/bin:/usr/sbin:/sbin:/usr/
local/bin:/usr/X11/bin:/opt/local/bin:/opt/local/sbin:/Developer/
Tools:/Developer/usr/bin:/Users/Dylan/Library/Application Support/
SuperCollider:/Applications/SuperCollider:/usr/share/TargetConfigs/bin

Any other ideas??

Thanks,
Dylan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]