#49682: gdb does not install on El Capitan -----------------------------+-------------------------------- Reporter: stiefschmied@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: invalid | Keywords: elcapitan Port: gdb | -----------------------------+-------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => invalid Comment: Replying to [comment:2 stiefschmied@…]:
The installation log is attached. It seems to install something, but I can not find "gdb" after installation. I was expecting to find "/opt/local/bin/gdb" but it is not there.
The transcript you attached shows gdb was successfully installed. The gdb port does not provide /opt/local/bin/gdb; it provides /opt/local/bin/ggdb. As Kurt mentioned above, use "port contents" to discover what a port installs. If you want to call the program as "gdb" instead of "ggdb" you can add /opt/local/libexec/gnubin to your PATH environment variable, however note that several other GNU programs install into that directory and making them available in the PATH might be problematic on OS X. An alternative would be to define a shell alias for gdb in your shell startup file. -- Ticket URL: <https://trac.macports.org/ticket/49682#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X