#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