#16978: gtk2 2.14.4: Building with variant +no_x11 fails with link error ----------------------------------+----------------------------------------- Reporter: devans@macports.org | Owner: nox@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Resolution: | Keywords: Port: gtk2 | ----------------------------------+----------------------------------------- Comment(by devans@macports.org): OK, I finally have a fix for this. First of all, all the stuff about ${wl} is, in fact, a libtool problem that seems relatively prevasive but all rather innocuous. The real problem is that the quartz code in gtk2 needs to link against both Cocoa and Carbon frameworks and that isn't happening on Tiger (but apparently is on Leopard). The attached patch fixes this in a sort of brute force way but it works. Better would be to understand why this configures properly on Leopard but not Tiger and submit a patch upstream. I'd be interested if some one could post a copy of the debug output of a build on Panther to compare what's happening on the two platforms. {{{ sudo port -d build gtk2 +no_x11 +quartz |& tee panther-gtk2-build.log }}} or the like. -- Ticket URL: <http://trac.macports.org/ticket/16978#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS