Error on "sudo port -v upgrade outdated"

Jeremy Lavergne jeremy at
Mon Jul 9 06:19:02 PDT 2012

> Don't fiddle with the sym links in /usr/bin by hand !! You will for sure break something.
> MacPorts doesn't need the compiler to be 'usr/bin/gcc' in order to use it. It will happily used the versioned binaries in there directly, if configured to do so.

Try building the failed package X again:
sudo port clean X
sudo port install X configure.compiler=gcc-4.2

MacPorts chooses its default compiler based a combination of architecture and Xcode version ( src/port1.0/portconfigure.tcl's portconfigure::get_compiler_fallback). I believe GCC 4.0 should only get used if Xcode 3.2 with OS X 10.4.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 8796 bytes
Desc: not available
URL: <>

More information about the macports-users mailing list