FreeBSD Port: x11-toolkits/gtk20

Michael Johnson ahze at ahze.net
Wed Apr 25 00:21:21 UTC 2007


On Apr 24, 2007, at 7:47 PM, Mike Jakubik wrote:

> I am having problems compiling gtk20 via xfce4. It seems like gtk20  
> requires caira with xlib support, but the cario port does not have  
> it, or any options for it. Here is the error.
>
> ---
>
> cc -DHAVE_CONFIG_H -I. -I. -I../.. -DG_LOG_DOMAIN=\"Gdk\" - 
> DGDK_COMPILATION -I../.. -I../../gdk -I../../gdk - 
> DGDK_PIXBUF_DISABLE_DEPRECATED -DG_DISABLE_CAST_CHECKS -D_REENTRANT  
> -DXTHREADS -DXUSE_MTSAFE_API -I/usr/local/include/glib-2.0 -I/usr/ 
> local/lib/glib-2.0/include -I/usr/local/include/pango-1.0 -I/usr/ 
> local/include/cairo -I/usr/X11R6/include -I/usr/local/include/ 
> freetype2 -I/usr/local/include -I/usr/local/include/freetype2 -I/ 
> usr/local/include -I/usr/X11R6/include -I/usr/X11R6/include - 
> DG_DISABLE_DEPRECATED -O2 -fno-strict-aliasing -pipe - 
> march=pentium4 -Wall -MT gdkdrawable-x11.lo -MD -MP -MF .deps/ 
> gdkdrawable-x11.Tpo -c gdkdrawable-x11.c  -fPIC -DPIC -o .libs/ 
> gdkdrawable-x11.o
> gdkdrawable-x11.c:32:24: 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
> gmake[4]: *** [gdkdrawable-x11.lo] Error 1
> gmake[4]: Leaving directory `/usr/ports/x11-toolkits/gtk20/work/gtk 
> +-2.10.11/gdk/x11'
> gmake[3]: *** [all-recursive] Error 1
> gmake[3]: Leaving directory `/usr/ports/x11-toolkits/gtk20/work/gtk 
> +-2.10.11/gdk'
> gmake[2]: *** [all] Error 2
> gmake[2]: Leaving directory `/usr/ports/x11-toolkits/gtk20/work/gtk 
> +-2.10.11/gdk'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/usr/ports/x11-toolkits/gtk20/work/gtk 
> +-2.10.11'
> gmake: *** [all] Error 2

Some how you compiled cairo with WITHOUT_X11. Recompile graphics/ 
cairo with out WITHOUT_X11 defined.

Michael

> *** Error code 2
>
> Stop in /usr/ports/x11-toolkits/gtk20.
> _______________________________________________
> freebsd-gnome at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
> To unsubscribe, send any mail to "freebsd-gnome- 
> unsubscribe at freebsd.org"

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20070425/82a757eb/PGP.pgp


More information about the freebsd-gnome mailing list