[MacPorts] #38238: tktable: build fails on Mountain Lion, error: incomplete definition of type 'struct _XDisplay'

MacPorts noreply at macports.org
Mon Nov 12 12:31:16 UTC 2018


#38238: tktable: build fails on Mountain Lion, error: incomplete definition of type
'struct _XDisplay'
-----------------------+--------------------------------
  Reporter:  lpsinger  |      Owner:  macports-tickets@…
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.1.3
Resolution:            |   Keywords:
      Port:  tktable   |
-----------------------+--------------------------------

Comment (by chrstphrchvz):

 `tktable` seems to build with `tk +quartz` 8.6.8 and 8.6.9 on 10.14
 Mojave, but I wonder if I have extra port(s) present that happen to let it
 build. With trace mode, the build fails because it doesn't find Xatom.h:
 {{{
 In file included from ./generic/tkTableTag.c:14:
 ./generic/tkTable.h:25:11: fatal error: 'X11/Xatom.h' file not found
 # include <X11/Xatom.h>
           ^~~~~~~~~~~~~
 In file included from ./generic/tkTableWin.c:15:
 ./generic/tkTable.h:25:11: fatal error: 'X11/Xatom.h' file not found
 # include <X11/Xatom.h>
           ^~~~~~~~~~~~~
 In file included from ./generic/tkTable.c:25:
 ./generic/tkTable.h:25:11: fatal error: 'X11/Xatom.h' file not found
 # include <X11/Xatom.h>
           ^~~~~~~~~~~~~
 In file included from ./generic/tkTableEdit.c:14:
 ./generic/tkTable.h:25:11: fatal error: 'X11/Xatom.h' file not found
 # include <X11/Xatom.h>
           ^~~~~~~~~~~~~
 …
 Warning: The following existing file was hidden from the build system by
 trace mode:
   /opt/local/include/X11/Xatom.h
 }}}

 Tktable appears usable on `tk +quartz`, but I'm inclined to think this is
 an erroneous/unsafe result.

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


More information about the macports-tickets mailing list