FreeBSD Port: x11-toolkits/gtk20

Mike Jakubik mikej at rogers.com
Wed Apr 25 00:15:55 UTC 2007


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
*** Error code 2

Stop in /usr/ports/x11-toolkits/gtk20.


More information about the freebsd-gnome mailing list