Ticket #35372 (closed defect: wontfix)
wxWidgets fails in Mountain Lion
| Reported by: | seanmmills@… | Owned by: | jwa@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.1.2 |
| Keywords: | mountainlion | Cc: | |
| Port: | wxWidgets |
Description (last modified by ryandesign@…) (diff)
Error: org.macports.build for port wxWidgets returned: command execution failed Error: Failed to install wxWidgets
Attachments
Change History
comment:1 Changed 10 months ago by ryandesign@…
- Owner changed from macports-tickets@… to jwa@…
- Keywords mountainlion added; wxWidgets mountain lion removed
- Description modified (diff)
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.
comment:2 follow-up: ↓ 3 Changed 10 months ago by jwa@…
- Status changed from new to closed
- Resolution set to wontfix
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 in reply to: ↑ 2 Changed 10 months ago 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.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
}

