Opened 5 years ago
Closed 5 years ago
#60122 closed defect (fixed)
XEphem 3.7.7 runtime error with MacOS 10.15.3
Reported by: | SpikeLightfoot | Owned by: | kencu (Ken) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | xephem |
Description
XEphem install and build via Macports works fine and yields no compile/link errors, but yields the following error at runtime:
% xephem Building shell Reading X resources Checking args Checking colormap Building icon Building main window system Connecting actions Building main menu bar Warning: Fatal Error: _XmGetDefaultDisplay cannot be used prior to VendorS.Initialize, returns NULL Segmentation fault %
Downloading the source file directly from http://www.clearskyinstitute.com, on the other hand, compiles successfully and runs without the above error. I believe (not the expert here) the same libraries are linked in each case, but the Macports executable fails.
Change History (5)
comment:1 Changed 5 years ago by kencu (Ken)
comment:2 Changed 5 years ago by kencu (Ken)
looks like xephem
ships with an included static copy of motif
. Unfortunately you can't just use that with MacPorts, as it doesn't work with our newer libpng...
So port will need surgery. In the meantime, it installs very easily manually from the original sources, as you said, ignoring MacPorts -- at least you're not DOA.
comment:3 Changed 5 years ago by jmroot (Joshua Root)
Port: | xephem added |
---|
Previous discussion which didn't result in a ticket: https://lists.macports.org/pipermail/macports-users/2018-October/045824.html
As mentioned there, this seems to be related to the libXt/motif transition away from flat namespace.
comment:4 Changed 5 years ago by kencu (Ken)
workaround, using bundled motif (and bundled static libpng which it requires)
comment:5 Changed 5 years ago by kencu (Ken)
Owner: | set to kencu |
---|---|
Resolution: | → fixed |
Status: | new → closed |
same on 10.14:
For a try, rebuilding openmotif did not help.