#41420 closed defect (fixed)
wxWidgets-3.0 3.0.0_4 compile failure on OS X 10.5.8
Reported by: | josephsacco | Owned by: | mojca (Mojca Miklavec) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | jyrkiwahlstedt | |
Port: | wxWidgets-3.0 |
Description
wxWidgets-3.0 3.0.0_4 failed to compile on a G4 PowerMac. See attached log file.
-Joseph
Attachments (1)
Change History (10)
Changed 11 years ago by josephsacco
comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | changed from macports-tickets@… to jwa@… |
---|
comment:2 follow-up: 5 Changed 11 years ago by mojca (Mojca Miklavec)
Did the previous version compile? (Or rather: which was the last version that compiled without problems?)
comment:3 Changed 11 years ago by mojca (Mojca Miklavec)
Cc: | jwa@… added; mojca@… removed |
---|---|
Owner: | changed from jwa@… to mojca@… |
comment:4 Changed 11 years ago by mojca (Mojca Miklavec)
I opened an upstream ticket. See http://trac.wxwidgets.org/ticket/15685.
As a quick workaround you can try to remove patch-upstream-nonbundled.diff
from the Portfile
. This solves the compilation problems, but leaves the problem of unbundled apps (it might not affect you if you don't need to call the apps from command-line). I need an idea for the best solution.
The easiest one might be to simply remove the patch on 10.5 until a better solution is found. Or maybe wait a tiny bit to see if the upstream developers manage to solve the problem quickly and apply a proper fix then.
comment:5 Changed 11 years ago by josephsacco
Replying to mojca@…:
Did the previous version compile? (Or rather: which was the last version that compiled without problems?)
Yes...
% port installed wxWidgets-3.0
The following ports are currently installed:
wxWidgets-3.0 @3.0.0_3 (active)
comment:6 Changed 11 years ago by josephsacco
The NSRunningApplication class was added to the AppKit framework in OS X 10.6
which explains why wxWidget-3.0 3.0.0_4 will not compile on a machine running OS X 10.5. Time to look at the code and see what it actually does. Maybe there is a reasonable workaround.
-Joseph
comment:7 Changed 11 years ago by mojca (Mojca Miklavec)
A reasonable code, not a reasonable patch. I suspect the patch was intentionally left out for the 3.0.0 release. See the links in the upstream ticket. The code is needed to determine whether the app is bundled or not. And in case it is not bundled, it is brought to the front. The developers aren't sure yet how to properly address that problem.
comment:8 Changed 11 years ago by mojca (Mojca Miklavec)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Version: | 2.2.1 |
I committed r113631. I have no 10.5 to test on, so I'm speculating that it should work, but please test and leave feedback. In case it doesn't help (or maybe even breaks on other systems), please reopen the ticket. Please note however that problems related to non-bundled apps will remain. In particular you probably won't be able to use gnuplot
with wxt
terminal or run apps like fityk
from command-line.
comment:9 Changed 11 years ago by josephsacco
The application now builds on a PPC-based PowerMac running 10.5.8.
-Joseph
Log file