[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: port x11-toolkits/gtk20 build error



On Mon, 2009-03-02 at 11:10 +0200, Victor A. Savinoff wrote:
> Greetings,
> 
> While building a port x11-toolkits/gtk20 I get such error: 
> 
> >  cc -DHAVE_CONFIG_H -I. -I. -I../.. -DG_LOG_DOMAIN=\"Gdk\" -DGDK_COMPILATION -I../.. -I../../gdk -I../../gdk -DG_DISABLE_CAST_CHECKS -D_REENTRANT -D_THREAD_SAFE -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/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -DG_DISABLE_SINGLE_INCLUDES -DATK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -D_THREAD_SAFE -I/usr/local/include -DGDK_PIXBUF_DISABLE_DEPRECATED -O2 -fno-strict-aliasing -pipe -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: 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
> > gmake[4]: *** [gdkdrawable-x11.lo] Error 1
> > gmake[4]: Leaving directory `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.14.7/gdk/x11'
> > gmake[3]: *** [all-recursive] Error 1
> > gmake[3]: Leaving directory `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.14.7/gdk'
> > gmake[2]: *** [all] Error 2
> > gmake[2]: Leaving directory `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.14.7/gdk'
> > gmake[1]: *** [all-recursive] Error 1
> > gmake[1]: Leaving directory `/usr/ports/x11-toolkits/gtk20/work/gtk+-2.14.7'
> > gmake: *** [all] Error 2
> > *** Error code 2
> 
> Looks like missing dependency to graphics/cairo

No, you need to rebuild cairo without WITHOUT_X11 defined.

Joe

> 
-- 
PGP Key : http://www.marcuscom.com/pgp.asc

Attachment: signature.asc
Description: This is a digitally signed message part