[MacPorts] #19677: imlib fails to build because MIT-SHM extension is activated
#19677: imlib fails to build because MIT-SHM extension is activated -------------------------------+-------------------------------------------- Reporter: hsivank@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: imlib -------------------------------+-------------------------------------------- imlib fails to build because MIT-SHM extension is activated on macosx leopard intel Attached patch to solve the problem -- Ticket URL: <http://trac.macports.org/ticket/19677> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19677: imlib fails to build because MIT-SHM extension is activated -------------------------------+-------------------------------------------- Reporter: hsivank@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: imlib -------------------------------+-------------------------------------------- Comment(by blb@…): What's the error message you're seeing, as it builds fine for me on 10.5.7, Intel, Xcode 3.1.2? -- Ticket URL: <http://trac.macports.org/ticket/19677#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19677: imlib fails to build because MIT-SHM extension is activated -------------------------------+-------------------------------------------- Reporter: hsivank@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: imlib -------------------------------+-------------------------------------------- Comment(by hsivank@…): I use 10.5.7 and Xcode 3.1.2 Maybe we are not using the same X version :[[BR]] [[BR]] My settings : pkgutil --pkgs=X11[[BR]] com.apple.pkg.X11User [[BR]] com.apple.pkg.X11SDKLeo[[BR]] com.apple.pkg.X11DocumentationLeo My X11 is delivered with 10.5.7 Are you using X11.pkg version 2.3.3.2 from [xquartz.macosforge.org] ? This is the error message : In file included from cache.c:6: [[BR]] gdk_imlib_private.h:104: error: syntax error before 'XShmSegmentInfo'[[BR]] gdk_imlib_private.h:104: warning: no semicolon at end of struct or union[[BR]] gdk_imlib_private.h:105: warning: data definition has no type or storage class[[BR]] gdk_imlib_private.h:108: warning: data definition has no type or storage class[[BR]] gdk_imlib_private.h:142: error: syntax error before 'Xdata'[[BR]] gdk_imlib_private.h:142: warning: no semicolon at end of struct or union[[BR]] gdk_imlib_private.h:144: warning: data definition has no type or storage class[[BR]] gdk_imlib_private.h:146: error: syntax error before '*' token[[BR]] gdk_imlib_private.h:146: warning: data definition has no type or storage class[[BR]] cache.c: In function '_gdk_imlib_dirty_pixmaps':[[BR]] cache.c:15: error: request for member 'cache' in something not a structure or union[[BR]] cache.c: In function '_gdk_imlib_dirty_images':[[BR]] cache.c:29: error: request for member 'cache' in something not a structure or union[[BR]] cache.c: In function '_gdk_imlib_find_pixmap':[[BR]] cache.c:46: error: request for member 'cache' in something not a structure or union[[BR]] cache.c:58: error: request for member 'cache' in something not a structure or union[[BR]] cache.c:60: error: request for member 'cache' in something not a structure or union[[BR]] cache.c:60: error: request for member 'x' in something not a structure or union[[BR]] cache.c:62: error: request for member 'cache' in something not a structure or union[[BR]] cache.c:63: error: request for member 'cache' in something not a structure or union[[BR]] cache.c:65: error: request for member 'cache' in something not a structure or union[[BR]] cache.c:74: error: request for member 'cache' in something not a structure or union[[BR]] cache.c:76: error: request for member 'cache' in something not a structure or union[[BR]] cache.c: In function '_gdk_imlib_find_image':[[BR]] cache.c:94: error: request for member 'cache' in something not a structure or union[[BR]] cache.c:104: error: request for member 'cache' in something not a structure or union[[BR]] cache.c:105: error: request for member 'cache' in something not a structure or union[[BR]] cache.c:106: error: request for member 'cache' in something not a structure or union[[BR]] cache.c:108: error: request for member 'cache' in something not a structure or union[[BR]] cache.c:117: error: request for member 'cache' in something not a structure or union[[BR]] cache.c:119: error: request for member 'cache' in something not a structure or union[[BR]] cache.c: In function '_gdk_imlib_free_pixmappmap':[[BR]] cache.c:134: error: request for member 'cache' in something not a structure or union[[BR]] cache.c:146: error: request for member 'cache' in something not a structure or union[[BR]] cache.c:148: error: request for member 'cache' in something not a structure or union[[BR]] cache.c:148: error: request for member 'x' in something not a structure or union[[BR]] cache.c:150: error: request for member 'cache' in something not a structure or union[[BR]] cache.c: In function '_gdk_imlib_free_image':[[BR]] cache.c:165: error: request for member 'cache' in something not a structure or union[[BR]] cache.c:175: error: request for member 'cache' in something not a structure or union[[BR]] cache.c:176: error: request for member 'cache' in something not a structure or union[[BR]] cache.c: In function '_gdk_imlib_add_image':[[BR]] cache.c:201: error: request for member 'cache' in something not a structure or union[[BR]] cache.c:220: error: request for member 'cache' in something not a structure or union[[BR]] cache.c:221: error: request for member 'cache' in something not a structure or union[[BR]] cache.c: In function '_gdk_imlib_add_pixmap':[[BR]] cache.c:232: error: request for member 'cache' in something not a structure or union[[BR]] cache.c:258: error: request for member 'cache' in something not a structure or union[[BR]] cache.c:259: error: request for member 'cache' in something not a structure or union[[BR]] cache.c: In function '_gdk_imlib_clean_caches':[[BR]] cache.c:271: error: request for member 'cache' in something not a structure or union[[BR]] cache.c:287: error: request for member 'cache' in something not a structure or union[[BR]] cache.c:292: error: request for member 'cache' in something not a structure or union[[BR]] cache.c:308: error: request for member 'cache' in something not a structure or union[[BR]] cache.c:320: error: request for member 'cache' in something not a structure or union[[BR]] cache.c:320: error: request for member 'cache' in something not a structure or union[[BR]] cache.c:324: error: request for member 'cache' in something not a structure or union[[BR]] cache.c:338: error: request for member 'cache' in something not a structure or union[[BR]] cache.c:343: error: request for member 'cache' in something not a structure or union[[BR]] cache.c:355: error: request for member 'cache' in something not a structure or union[[BR]] cache.c:355: error: request for member 'cache' in something not a structure or union[[BR]] cache.c:404: error: request for member 'cache' in something not a structure or union[[BR]] cache.c:416: error: request for member 'cache' in something not a structure or union[[BR]] cache.c:416: error: request for member 'cache' in something not a structure or union[[BR]] cache.c:420: error: request for member 'cache' in something not a structure or union[[BR]] cache.c:435: error: request for member 'cache' in something not a structure or union[[BR]] cache.c:435: error: request for member 'x' in something not a structure or union[[BR]] cache.c:437: error: request for member 'cache' in something not a structure or union[[BR]] cache.c:449: error: request for member 'cache' in something not a structure or union[[BR]] cache.c:461: error: request for member 'cache' in something not a structure or union[[BR]] cache.c:461: error: request for member 'cache' in something not a structure or union[[BR]] cache.c: In function 'gdk_imlib_get_cache_info':[[BR]] cache.c:490: error: request for member 'cache' in something not a structure or union[[BR]] cache.c:492: error: request for member 'cache' in something not a structure or union[[BR]] cache.c: In function 'gdk_imlib_set_cache_info':[[BR]] cache.c:498: error: request for member 'cache' in something not a structure or union[[BR]] cache.c:499: error: request for member 'cache' in something not a structure or union[[BR]] make[2]: *** [cache.lo] Error 1[[BR]] Thanks for your quick answer. -- Ticket URL: <http://trac.macports.org/ticket/19677#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19677: imlib fails to build because MIT-SHM extension is activated -------------------------------+-------------------------------------------- Reporter: hsivank@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: imlib -------------------------------+-------------------------------------------- Comment(by blb@…): I do have xquartz installed but building imlib from MacPorts should be using its own X11 libraries; for example, building imlib here shows it linked against several, all provided by MacPorts: {{{ ... /opt/local/lib/libX11.6.dylib (compatibility version 9.0.0, current version 9.0.0) /opt/local/lib/libXau.6.dylib (compatibility version 7.0.0, current version 7.0.0) /opt/local/lib/libXdmcp.6.dylib (compatibility version 7.0.0, current version 7.0.0) /opt/local/lib/libSM.6.dylib (compatibility version 7.0.0, current version 7.0.0) /opt/local/lib/libICE.6.dylib (compatibility version 10.0.0, current version 10.0.0) /opt/local/lib/libXext.6.dylib (compatibility version 11.0.0, current version 11.0.0) ... }}} Check to make sure your gtk1 port is up to date. Also, did you happen to use the +system_x11 variant? -- Ticket URL: <http://trac.macports.org/ticket/19677#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19677: imlib fails to build because MIT-SHM extension is activated -------------------------------+-------------------------------------------- Reporter: hsivank@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: imlib -------------------------------+-------------------------------------------- Comment(by hsivank@…): My gtk1 port is up to date (version 1.2.10 revision 8). I didn't use system_x11 variant before. Same bug with ... [[BR]] Note: "--disable-shm" is in the list of gtk1 arguments[[BR]] I agree with you : building imlib from MacPorts should be using its own X11 libraries, but my problem is not at link step.[[BR]] Tell me if i'm wrong : Maybe you are using headers from xquartz and link with x11 MacPorts libraries[[BR]] -- Ticket URL: <http://trac.macports.org/ticket/19677#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19677: imlib fails to build because MIT-SHM extension is activated -------------------------------+-------------------------------------------- Reporter: hsivank@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: imlib -------------------------------+-------------------------------------------- Comment(by hsivank@…): There is an error in the report: my port version is not 1.71 but 1.8.0,[[BR]] Sorry for the mistake. -- Ticket URL: <http://trac.macports.org/ticket/19677#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19677: imlib fails to build because MIT-SHM extension is activated --------------------------------+------------------------------------------- Reporter: hsivank@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: worksforme | Keywords: Port: imlib | --------------------------------+------------------------------------------- Changes (by jmr@…): * status: new => closed * resolution: => worksforme -- Ticket URL: <https://trac.macports.org/ticket/19677#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts