#45406: py27-pyqt4 fails when trying to install gqrx -----------------------+------------------------- Reporter: armaan@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: py-pyqt4 | -----------------------+------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => michaelld@… * cc: armaan@… (removed) * port: => py-pyqt4 Comment: The problem seems to be that although MacPorts has told py27-pyqt4 it should use the llvm-gcc-4.2 compiler, the log shows it's actually trying to use the gcc-4.2 compiler, which does not exist in Xcode 4.2, hence the "No such file or directory" error. I'm guessing this is because `qmake` is being used somewhere. `qmake` has its own ideas about which compiler it should use: it thinks it should use the compiler it was itself built with. In MacPorts, this assumption can be incorrect, such as in your case where you received a binary of qmake from our Snow Leopard build server (which uses Xcode 3.2.6 and therefore has and uses gcc-4.2) but are now trying to compile something from source with it on your system with Xcode 4.2 (which doesn't). Each port that uses `qmake` must therefore instruct it to use the correct compiler. For many ports, the qmake portgroup can be used to accomplish that; for others, it must be programmed manually. -- Ticket URL: <https://trac.macports.org/ticket/45406#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X