gtk fails to build

Ryan Schmidt ryandesign at macports.org
Thu Nov 20 16:25:56 PST 2008


On Nov 20, 2008, at 02:32, Bryan Blackburn wrote:

> On Wed, Nov 19, 2008 at 06:21:04PM -0800, Ludwig said:
>
>> I can't find an open bug or previous list message about this, so I
>> wanted to check here before filing a ticket.
>>
>> 10.5.5.  Upgrading gtk from 2.14.4_0 to 2.14.4_1 fails thusly:
>>
>>>  /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)
>
> Do you have Xcode 3.0 installed?  I believe this is fixed in 3.1 if  
> so.

Ludwig, please let us know if upgrading to Xcode 3.1(.1) works.  
(After upgrading Xcode, clean the gtk2 work area with "sudo port  
clean gtk2" then try installing it again.) If so, we can make the  
gtk2 port require Xcode 3.1(.1) and prevent others from running into  
this.



More information about the macports-users mailing list