#39086: cmake 2.8.10.2 with macosx_deployment_target 10.7 fails to configure ---------------------+------------------- Reporter: help@… | Owner: css@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: cmake | ---------------------+------------------- Comment (by ville.aakko@…): Hi, This is still an issue on Snow Leopard - CMAKE_OSX_SYSROOT is set wrongly exactly the same way (pointing to /Developer/SDKs/MacOSX10.8.sdk instead of /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/). I will try the approach above (I have no reason to believe it shouldn't work). However, I have no idea what is really going wrong, or where to look next. Also, this was originally Snow Leopard but I upgraded to Mountain Lion recently. After upgrade I upgraded XCode and MacPorts according to https://trac.macports.org/wiki/Migration {{{ $ sudo xcode-select --print-path /Applications/Xcode.app/Contents/Developer }}} So this is on Mountain Lion 10.8.4, XCode 4.6.3, and trying to install cmake 2.8.11.2. Hope this helps to find out what is going on (wrongly)! There are loads of other bugs on other ports (not to mention configure errors that are in no way related to MacPorts I found via google) where the SDKs is not found / looked for in the wrong path. I suspect this might not actually be a bug in MacPorts and/or cmake port, but maybe in OS X / XCode / or triggers only in certain situation (perhaps after some upgrade path(s)?). In bug #40237, reinstalling XCode repaired the issue for another user, but that didn't help in my case (I tried it already). There could still be some leftovers from XCode from OSX 10.6.X somewhere, however... -- Ticket URL: <https://trac.macports.org/ticket/39086#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X