#18014 closed defect (duplicate)
Wireshark doesn't install because gtk2 won't build
Reported by: | nospam3162@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.0 |
Keywords: | install build | Cc: | |
Port: | gtk2 |
Description (last modified by dbevans (David B. Evans))
Hi!
I love MacPorts, as this is for me the reason th use OS X. I tried to install wireshark. It won't install, because gtk2 will not build.
I have OS X 10.5.6 on Intel Macbook. I installed macports 1.7. from scratch. Any ideas?
sudo port -u -v install gtk2 ---> Building gtk2 make all-recursive Making all in po make[2]: Nothing to be done for `all'. Making all in po-properties make[2]: Nothing to be done for `all'. Making all in gdk-pixbuf make all-recursive Making all in pixops make[4]: Nothing to be done for `all'. Making all in gdk make all-recursive Making all in x11 if /bin/sh ../../libtool --mode=compile /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../.. -DG_LOG_DOMAIN=\"Gdk\" -DGDK_COMPILATION -I../.. -I../../gdk -I../../gdk -DG_DISABLE_CAST_CHECKS -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/pango-1.0 -I/opt/local/include/cairo -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12 -I/usr/X11/include -I/opt/local/include -DX_LOCALE -DG_DISABLE_SINGLE_INCLUDES -DATK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -I/usr/X11/include -DGDK_PIXBUF_DISABLE_DEPRECATED -O2 -fstrict-aliasing -Wall -MT gdkevents-x11.lo -MD -MP -MF ".deps/gdkevents-x11.Tpo" \ -c -o gdkevents-x11.lo `test -f 'gdkevents-x11.c' || echo './'`gdkevents-x11.c; \ then mv -f ".deps/gdkevents-x11.Tpo" ".deps/gdkevents-x11.Plo"; \ else rm -f ".deps/gdkevents-x11.Tpo"; exit 1; \ fi /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I../.. -DG_LOG_DOMAIN=\"Gdk\" -DGDK_COMPILATION -I../.. -I../../gdk -I../../gdk -DG_DISABLE_CAST_CHECKS -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/pango-1.0 -I/opt/local/include/cairo -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12 -I/usr/X11/include -I/opt/local/include -DX_LOCALE -DG_DISABLE_SINGLE_INCLUDES -DATK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -I/usr/X11/include -DGDK_PIXBUF_DISABLE_DEPRECATED -O2 -fstrict-aliasing -Wall -MT gdkevents-x11.lo -MD -MP -MF .deps/gdkevents-x11.Tpo -c gdkevents-x11.c -fno-common -DPIC -o .libs/gdkevents-x11.o gdkevents-x11.c: In function 'gdk_event_translate': gdkevents-x11.c:2110: error: 'RRNotify' undeclared (first use in this function) gdkevents-x11.c:2110: error: (Each undeclared identifier is reported only once gdkevents-x11.c:2110: error: for each function it appears in.) gdkevents-x11.c:2112: error: 'XRRNotifyEvent' undeclared (first use in this function) gdkevents-x11.c:2112: error: 'notify' undeclared (first use in this function) gdkevents-x11.c:2112: error: syntax error before ')' token gdkevents-x11.c: In function 'gdk_x11_screen_get_window_manager_name': gdkevents-x11.c:2724: warning: dereferencing type-punned pointer will break strict-aliasing rules gdkevents-x11.c: In function 'gdk_x11_screen_supports_net_wm_hint': gdkevents-x11.c:2824: warning: dereferencing type-punned pointer will break strict-aliasing rules make[4]: *** [gdkevents-x11.lo] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
I don't have any programming knowledge, if I could provide more information let me know. Kind regards Marcel
Change History (4)
comment:1 Changed 16 years ago by dbevans (David B. Evans)
Keywords: | gtk2 removed |
---|---|
Resolution: | → duplicate |
Status: | new → closed |
comment:2 Changed 16 years ago by dbevans (David B. Evans)
Description: | modified (diff) |
---|
comment:3 Changed 16 years ago by nospam3162@…
Thanks for this fast answer and solution! It solved my issue
Note: See
TracTickets for help on using
tickets.
Duplicate of #17360, see possible solutions there.