Error: Unable to open port: can't set "compiler.blacklist": couldn't determine build number of compiler "gcc-4.2"

Ryan Schmidt ryandesign at macports.org
Sun Nov 3 18:10:40 PST 2013


On Nov 3, 2013, at 19:56, Brickle Macho wrote:

> Thanks, that fixed the issue.  It was symlinked to gcc, which was symlinked to gcc 4.7.    Gimp is now building (well fetching archives atm).

And where is that “gcc”? If it’s in /opt/local/bin then that’s fine; you can use “port select gcc” to select any gcc you want. However if you’re saying that /usr/bin/gcc was a symlink to MacPorts gcc 4.7, then that’s a problem. On Mavericks /usr/bin/gcc should be a small stub program that calls the real compiler. If that’s not what you have, then you should restore it from your backups or perhaps reinstalling the Xcode command line tools would put it back the way it should be.




More information about the macports-users mailing list