#40527: py27-pyqt4 installation failing on snowleopard ---------------------------+------------------------- Reporter: srirajpaul@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: py-pyqt4 | ---------------------------+------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => michaelld@… * port: => py-pyqt4 Comment: The log says: {{{ :debug:configure Using compiler 'Mac OS X Clang' }}} (because you must have installed Xcode 4.2) But then: {{{ :info:configure /usr/bin/g++-4.2 -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.6 -Wall -W -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/opt/local/share/qt4/mkspecs/macx-g++ -I. -I. -I/opt/local/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/local/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/local/include -F/opt/local/Library/Frameworks -F/opt/local/lib -o qtdirs.o qtdirs.cpp :info:configure make: /usr/bin/g++-4.2: No such file or directory }}} The port does not seem to be UsingTheRightCompiler. gcc-4.2 is the default compiler for Snow Leopard on Xcode 3.2.6, which is what our buildbots use; presumably you got a binary of one of py-pyqt4's dependencies, and that dependency recorded what compiler it used, and is now trying to enforce that compiler choice on its dependents. I'd guess qt4-mac is the culprit, though both it and python27 record the compiler that was used. -- Ticket URL: <https://trac.macports.org/ticket/40527#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X