gdb and gcc incompatible?

Lawrence Velazquez larry.velazquez at gmail.com
Fri Oct 5 10:06:10 PDT 2012


On Fri, Oct 5, 2012 at 12:44 PM, Adam Dershowitz <dersh at alum.mit.edu> wrote:
>
> I have gdb installed, and I just tried to upgrade it from 7.3.1 to 7.5.0.
> But I got an error that says:
>
> Error: cctools-headers must be deactivated before upgrade.
> Error: org.macports.configure for port gdb returned: Please run `sudo port
> deactivate cctools-headers` and try again.
>
> It turns out that cctools-headers is a dependent of cctools which is in
> turn a dependent on gcc43,gcc44 and gcc45.
>
> So, are gcc43,gcc44 and gcc45 incompatible with gdb?  That seems like an
> odd and inconvenient conflict.

I think cctools-headers just causes a compile-time problem with gdb
[1][2], so you should be able to force-deactivate cctools-headers
before installing gdb and re-activate it afterwards.

[1] https://trac.macports.org/changeset/98404
[2] https://trac.macports.org/ticket/36472

vq


More information about the macports-users mailing list