#35372 closed defect (wontfix)
wxWidgets fails in Mountain Lion
Reported by: | seanmmills@… | Owned by: | jyrkiwahlstedt |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.2 |
Keywords: | mountainlion | Cc: | |
Port: | wxWidgets |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
Error: org.macports.build for port wxWidgets returned: command execution failed Error: Failed to install wxWidgets
Attachments (1)
Change History (7)
Changed 12 years ago by seanmmills@…
comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Keywords: | mountainlion added; wxWidgets mountain lion removed |
Owner: | changed from macports-tickets@… to jwa@… |
comment:2 follow-up: 3 Changed 12 years ago by jyrkiwahlstedt
Resolution: | → wontfix |
---|---|
Status: | new → closed |
On Lion, wxWidgets builds and runs fine. On Mountain Lion, however, one has to use -devel that builds ok (just checked). If there are problems with wxWidgets-devel on ML, please do another ticket. Currently stable wxWidgets, 2.8.12, depends on Carbon support that has been dropped here.
comment:3 Changed 12 years ago by devernay (Frédéric 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.platformDeveloper/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 }
comment:4 Changed 12 years ago by jyrkiwahlstedt
Yes, 2.9 and 2.8 are not compatible, but picking an SDK from a previous version of Xcode to the current will never be a supported configuration. It could be tempting, but Carbon support is gone and hacking it in place is a bad idea.
Yup, sorry. It's up to the developers of wxWidgets to release a new version that's compatible with Lion and Mountain Lion. Try the wxWidgets-devel port for now.