Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Mar 2009 22:39:17 -0500
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        "Victor A. Savinoff" <claus@colocall.net>
Cc:        gnome@freebsd.org
Subject:   Re: port x11-toolkits/gtk20 build error
Message-ID:  <1236224357.82483.24.camel@shumai.marcuscom.com>
In-Reply-To: <20090302091021.GE93467@colocall.net>
References:  <20090302091021.GE93467@colocall.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-/bpYQUEpQ7IPTHYtDkjF
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Mon, 2009-03-02 at 11:10 +0200, Victor A. Savinoff wrote:
> Greetings,
>=20
> While building a port x11-toolkits/gtk20 I get such error:=20
>=20
> >  cc -DHAVE_CONFIG_H -I. -I. -I../.. -DG_LOG_DOMAIN=3D\"Gdk\" -DGDK_COMP=
ILATION -I../.. -I../../gdk -I../../gdk -DG_DISABLE_CAST_CHECKS -D_REENTRAN=
T -D_THREAD_SAFE -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/in=
clude -I/usr/local/include/pango-1.0 -I/usr/local/include/cairo -I/usr/loca=
l/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include -I/u=
sr/local/include/freetype2 -I/usr/local/include -DG_DISABLE_SINGLE_INCLUDES=
 -DATK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES -DGTK_D=
ISABLE_SINGLE_INCLUDES -D_THREAD_SAFE -I/usr/local/include -DGDK_PIXBUF_DIS=
ABLE_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
> 				  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>=20
> > 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 'cair=
o_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 'cair=
o_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
>=20
> Looks like missing dependency to graphics/cairo

No, you need to rebuild cairo without WITHOUT_X11 defined.

Joe

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

--=-/bpYQUEpQ7IPTHYtDkjF
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (FreeBSD)

iEYEABECAAYFAkmvSWQACgkQb2iPiv4Uz4eXuACeJGH/BiFDgJDO2LhNl1gx2RDO
o3UAoKHzHwUjMtKQX+0JVcY3rJ3GBt2k
=kIol
-----END PGP SIGNATURE-----

--=-/bpYQUEpQ7IPTHYtDkjF--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1236224357.82483.24.camel>