#36146: octave-devel build: no graphics display found ---------------------------+------------------------- Reporter: vic@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: octave-devel | ---------------------------+------------------------- Comment (by michaelld@…): What's going on is that during "configure", the provided compiler (MacPorts gcc of some version) is provided with a C++ file (conftest.cpp) but internally (via headers) some of the code is objective-c++ and the compiler isn't auto-switching to that language; hence, the test fails and the Carbon framework is not detected or used. Then when octave is executed there is no display detected (see "src/display.cc"). Thus, the real issue is that the new MacPorts' GCCs (at least gcc47) are not auto-selecting compile language correctly. I think this worked correctly a while back with MacPorts' GCCs; no idea what changed. I'm trying to work around this by compiling just "src/display.cc" using an Apple compiler (which does do the auto-language selections correctly); it's the only file that uses HAVE_FRAMEWORK_CARBON, so this seems reasonable. It's all looking good so far; more later. -- Ticket URL: <https://trac.macports.org/ticket/36146#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS