#35372: wxWidgets fails in Mountain Lion -----------------------------------+---------------------------------------- Reporter: seanmmills@… | Owner: jwa@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: wontfix | Keywords: mountainlion Port: wxWidgets | -----------------------------------+---------------------------------------- Comment(by frederic.devernay@…): Actually, wxWidgets 2.9 is not 100% compatible with 2.8 (see the wxWidgets doc, http://docs.wxwidgets.org/2.9.4/overview_changes_since28.html ), so it may still be necessary to have wxWidgets 2.8 availablefor some applications. Carbon support was not dropped from 10.8! only the 10.6 SDK was removed from Xcode 4.4 (it was still there in 4.3), and Carbon applications compiled against the 10.6 SDK still run fine under 10.8. I managed to compile it on Mountain Lion by getting the 10.6 SDK from my time machine at /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform//Developer/SDKs/MacOSX10.6.sdk and then adding the following section in the Portfile (after the "platform darwin 11" section). It should also be possible to get the 10.6 SDK from the Xcode 3.2.6 distribution (there's a package for that in the dmg). It would be great if macports could have a prt that installs the 10.6 SDK. Note that several ports seem to use the 10.6 SDK (plus all the ones which require wxWidgets): fgrep -r MacOSX10.6.sdk /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports platform darwin 12 { pre-configure { if {![file exists ${developer_dir}/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk]} { return -code error "\n********************\n${name} requires Mac OS X 10.6 SDK, please get it from XCode 3.2.6\n********************" } } configure.args-append \ --with-macosx-version-min=10.6 \ --with-macosx- sdk=${developer_dir}/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk } -- Ticket URL: <https://trac.macports.org/ticket/35372#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS