[MacPorts] #50463: ddd @3.3.12: Xt error (Unresolved inheritance operation)

MacPorts noreply at macports.org
Thu Mar 9 15:04:38 UTC 2023

#50463: ddd @3.3.12: Xt error (Unresolved inheritance operation)
  Reporter:  ewout+keyword+macports.8d331b@…  |      Owner:  macports-
                                              |  tickets@…
      Type:  defect                           |     Status:  new
  Priority:  Normal                           |  Milestone:
 Component:  ports                            |    Version:  2.3.4
Resolution:                                   |   Keywords:
      Port:  ddd                              |

Comment (by hgrey):

 This error and the "_XmGetDefaultDisplay cannot be used prior to
 VendorS.Initialize, returns NULL" variant can be overcome by linking ddd
 with the static version of libXm. On MacOs Ventura 13.2, MacPorts 2.8.1,
 ddd 3.3.12 and xorg-server 1.20.11_1 the Makefile in the ddd subdirectory
 controls the linking with the variable LIBXM. Changing this from -lXm to

 /opt/local/lib/libXm.a /opt/local/lib/libjpeg.a /opt/local/lib/libpng16.a
 /opt/local/lib/libz.a /opt/local/lib/libiconv.a /opt/local/lib/libXft.a
 /opt/local/lib/libXrender.a /opt/local/lib/libfontconfig.a
 /opt/local/lib/libexpat.a /opt/local/lib/libfreetype.a
 /opt/local/lib/libbz2.a /opt/local/lib/libbrotlidec-static.a
 /opt/local/lib/libbrotlicommon-static.a /opt/local/lib/libintl.a
 -framework Foundation

 will build a working version. (manual build with port build -k ddd, cd
 /opt/local/var/macports/builds..../ddd-3.3.12, change file, rm ddd/ddd,

Ticket URL: <https://trac.macports.org/ticket/50463#comment:10>
MacPorts <https://www.macports.org/>
Ports system for macOS

More information about the macports-tickets mailing list