qt4-mac using wrong g++
Ryan Schmidt
ryandesign at macports.org
Sun Feb 10 21:52:40 PST 2013
On Feb 10, 2013, at 23:09, Frank J. R. Hanstick wrote:
> I keep getting the following error when trying to upgrade qt4-mac:
>
> :info:configure error: The compiler (/usr/bin/g++-4.0) does not seem to support the Objective-C blocks (^), which are used by Qt when compiling on Mac OS X.
A potential fix was committed already but I have not tested it yet. You could selfupdate and try again.
https://trac.macports.org/ticket/37994
> Why is qt-mac trying to use /usr/bin/g++-4.0 to build?
Because that is the version of gcc MacPorts uses by default on Leopard (and Tiger). We have discussed maybe changing that to gcc-4.2, but that hasn't happened yet in a released version of MacPorts.
More information about the macports-users
mailing list