Cant install gtksourceview-sharp2 (because of at-spi)

Paul Turbett paul.turbett at spinfast.com.au
Sun Nov 23 18:45:50 PST 2008


Yep, got the +quartz version of gtk2:

   gtk2 @2.14.4_1+no_x11+quartz (active)

I'm following this tutorial: http://www.naiznoiz.share-a-book.com/?p=27

I note the ticket you pointed out mentioned an error if X11 libraries  
are not found. Pardon my stupid question, but I'm guessing that means  
the X11 version of gtk? (I did mention I don't have a lot of unix/mac  
experience right ? :))

If so, how to I change over? I tried this:

sudo port install gtk2 +x11

but got more errors:

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 gdkdrawable-x11.lo -MD -MP -MF ".deps/gdkdrawable- 
x11.Tpo" \
	  -c -o gdkdrawable-x11.lo `test -f 'gdkdrawable-x11.c' || echo  
'./'`gdkdrawable-x11.c; \
	then mv -f ".deps/gdkdrawable-x11.Tpo" ".deps/gdkdrawable-x11.Plo"; \
	else rm -f ".deps/gdkdrawable-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 gdkdrawable-x11.lo -MD -MP -MF .deps/gdkdrawable-x11.Tpo -c  
gdkdrawable-x11.c  -fno-common -DPIC -o .libs/gdkdrawable-x11.o
gdkdrawable-x11.c:32:24: error: cairo-xlib.h: No such file or directory
gdkdrawable-x11.c: In function '_gdk_x11_drawable_update_size':
gdkdrawable-x11.c:238: warning: implicit declaration of function  
'cairo_xlib_surface_set_size'
gdkdrawable-x11.c: In function 'gdk_x11_ref_cairo_surface':
gdkdrawable-x11.c:1469: warning: implicit declaration of function  
'cairo_xlib_surface_create'
gdkdrawable-x11.c:1472: warning: assignment makes pointer from integer  
without a cast
gdkdrawable-x11.c:1474: warning: implicit declaration of function  
'cairo_xlib_surface_create_for_bitmap'
gdkdrawable-x11.c:1477: warning: assignment makes pointer from integer  
without a cast
make[4]: *** [gdkdrawable-x11.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1




Thanks!

L8r, Paul



On 23/11/2008, at 6:49 PM, Ryan Schmidt wrote:

>
> On Nov 23, 2008, at 03:14, Paul Turbett wrote:
>
>> desktop.c:32:22: error: gdk/gdkx.h: No such file or directory
>
> Do you have the +quartz version of gtk2 installed? It sounds like at- 
> spi needs the +x11 version instead. It's this bug report:
>
> http://trac.macports.org/ticket/15013
>
>



More information about the macports-users mailing list