[MacPorts] #38238: tktable: build fails on Mountain Lion, error: incomplete definition of type 'struct _XDisplay'
#38238: tktable: build fails on Mountain Lion, error: incomplete definition of type 'struct _XDisplay' -----------------------+-------------------------------- Reporter: aronnax@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Keywords: | Port: tktable -----------------------+-------------------------------- tktable fails to build on Mountain Lion with the following error message: See attached build log. -- Ticket URL: <https://trac.macports.org/ticket/38238> MacPorts <http://www.macports.org/> Ports system for Mac OS
#38238: tktable: build fails on Mountain Lion, error: incomplete definition of type 'struct _XDisplay' ------------------------+-------------------------------- Reporter: aronnax@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: tktable | ------------------------+-------------------------------- Comment (by aronnax@…): Oops, sorry. I forgot to paste the error message. Here it is: {{{ ./generic/tkTable.c:3809:5: error: incomplete definition of type 'struct _XDisplay' XSync(tablePtr->display, False); ^ ~~~~~~~~~~~~~~~~~ ./generic/tkTable.h:75:39: note: expanded from macro 'XSync' # define XSync(display, bool) {display->request++;} ^ /opt/local/include/X11/Xlib.h:263:8: note: forward declaration of 'struct _XDisplay' struct _XDisplay; /* Forward declare before use for C++ */ ^ }}} -- Ticket URL: <https://trac.macports.org/ticket/38238#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#38238: tktable: build fails on Mountain Lion, error: incomplete definition of type 'struct _XDisplay' ------------------------+--------------------- Reporter: aronnax@… | Owner: markd@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: tktable | ------------------------+--------------------- Changes (by aronnax@…): * owner: macports-tickets@… => markd@… -- Ticket URL: <https://trac.macports.org/ticket/38238#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#38238: tktable: build fails on Mountain Lion, error: incomplete definition of type 'struct _XDisplay' ------------------------+--------------------- Reporter: aronnax@… | Owner: markd@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: tktable | ------------------------+--------------------- Comment (by egall@…): What does `port provides /opt/local/include/X11/Xlib.h` return for you? What's the status of the port returned? -- Ticket URL: <https://trac.macports.org/ticket/38238#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#38238: tktable: build fails on Mountain Lion, error: incomplete definition of type 'struct _XDisplay' ------------------------+--------------------- Reporter: aronnax@… | Owner: markd@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: tktable | ------------------------+--------------------- Comment (by aronnax@…): {{{ $ port provides /opt/local/include/X11/Xlib.h /opt/local/include/X11/Xlib.h is provided by: xorg-libX11 }}} -- Ticket URL: <https://trac.macports.org/ticket/38238#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#38238: tktable: build fails on Mountain Lion, error: incomplete definition of type 'struct _XDisplay' ------------------------+--------------------- Reporter: aronnax@… | Owner: markd@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: tktable | ------------------------+--------------------- Comment (by rct@…): I fixed this problem by building the tk package with +x11. -- Ticket URL: <https://trac.macports.org/ticket/38238#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#38238: tktable: build fails on Mountain Lion, error: incomplete definition of type 'struct _XDisplay' ------------------------+--------------------- Reporter: aronnax@… | Owner: markd@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: tktable | ------------------------+--------------------- Comment (by aronnax@…): Could we have a {{{require_active_variants}}} added to tktable? -- Ticket URL: <https://trac.macports.org/ticket/38238#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#38238: tktable: build fails on Mountain Lion, error: incomplete definition of type 'struct _XDisplay' ------------------------+-------------------------------- Reporter: aronnax@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: tktable | ------------------------+-------------------------------- Changes (by mf2k@…): * owner: markd@… => macports-tickets@… Comment: markd has retired. See #44782. -- Ticket URL: <https://trac.macports.org/ticket/38238#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts