gtk2 failing to build

Noah admin2 at enabled.com
Wed Dec 3 11:40:37 PST 2008


any help is appreciated to figure out why gtk2 is failing to build.

sh-3.2# port -v
MacPorts 1.600
Entering interactive mode... ("help" for help, "quit" to quit)



# port install wireshark
--->  Building gtk2 with target all
Error: Target org.macports.build returned: shell command " cd 
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_gtk2/work/gtk+-2.14.4" 
&& make all " returned error 2
Command output: 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 -no-cpp-precomp -DX_LOCALE 
-I/usr/X11R6/include -DG_DISABLE_SINGLE_INCLUDES 
-DATK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES 
-DGTK_DISABLE_SINGLE_INCLUDES -I/opt/local/include -I/usr/X11/include 
  -DGDK_PIXBUF_DISABLE_DEPRECATED -O2 -funroll-loops -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 
-no-cpp-precomp -DX_LOCALE -I/usr/X11R6/include 
-DG_DISABLE_SINGLE_INCLUDES -DATK_DISABLE_SINGLE_INCLUDES 
-DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES 
-I/opt/local/include -I/usr/X11/include -DGDK_PIXBUF_DISABLE_DEPRECATED 
-O2 -funroll-loops -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:2721: 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:2821: 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

Error: The following dependencies failed to build: gtk2
Error: Status 1 encountered during processing.



sh-3.2# port installed
The following ports are currently installed:
   apple-gcc42 @5531_0 (active)
   atk @1.24.0_0 (active)
   autoconf @2.63_0 (active)
   automake @1.10.1_0
   automake @1.10.2_0 (active)
   bison @2.4_1 (active)
   bzip2 @1.0.5_1 (active)
   cairo @1.8.4_0+macosx (active)
   clamav @0.94.1_0+darwin_i386
   clamav @0.94.2_0+darwin_i386 (active)
   expat @2.0.1_0 (active)
   fontconfig @2.6.0_0+macosx (active)
   fping @2.4b2_0 (active)
   freetype @2.3.7_3+macosx (active)
   gawk @3.1.6_0 (active)
   gd2 @2.0.35_2 (active)
   gettext @0.17_3 (active)
   glib2 @2.18.3_0+darwin_9 (active)
   gmp @4.2.4_0 (active)
   gnome-common @2.24.0_1 (active)
   gperf @3.0.3_0 (active)
   help2man @1.36.4_1 (active)
   intltool @0.40.5_0 (active)
   jasper @1.900.1_2+darwin_9 (active)
   jpeg @6b_3 (active)
   libiconv @1.12_0 (active)
   libpcap @1.0.0_0 (active)
   libpixman @0.12.0_1 (active)
   libpng @1.2.33_0 (active)
   libtool @1.5.26_0 (active)
   libxml2 @2.7.2_1+darwin_9 (active)
   libxslt @1.1.24_1+darwin_9 (active)
   m4 @1.4.12_1 (active)
   nagios @3.0.5_0 (active)
   nagios-plugins @1.4.13_1 (active)
   nawk @20070501_0 (active)
   ncurses @5.7_0 (active)
   ncursesw @5.7_0 (active)
   netcat @1.10_2 (active)
   nmap @4.76_0 (active)
   openssl @0.9.8i_0 (active)
   ossp-uuid @1.6.2_0 (active)
   p5-crypt-des @2.05_0 (active)
   p5-digest-hmac @1.01_2 (active)
   p5-digest-sha1 @2.11_0 (active)
   p5-locale-gettext @1.05_0 (active)
   p5-net-snmp @5.2.0_0 (active)
   p5-xml-parser @2.36_0 (active)
   pango @1.22.3_0 (active)
   pcre @7.8_1 (active)
   perl5.8 @5.8.8_3+darwin_9 (active)
   pkgconfig @0.23_1 (active)
   postgresql83 @8.3.5_0 (active)
   readline @5.2.012_1 (active)
   render @0.9.2_0 (active)
   shared-mime-info @0.51_0 (active)
   tiff @3.8.2_2+darwin_9+macosx (active)
   Xft2 @2.1.13_0 (active)
   xorg-renderproto @0.9.3_0 (active)
   xorg-xproto @7.0.14_1 (active)
   xrender @0.9.4_1+macosx (active)
   zlib @1.2.3_1
   zlib @1.2.3_2 (active)


More information about the macports-users mailing list