Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jul 2006 15:52:53 -0400
From:      Joe Marcus Clarke <marcus@FreeBSD.org>
To:        Abdullah Ibn Hamad Al-Marri <arabian@WeArab.Net>
Cc:        gnome@FreeBSD.org, ports@FreeBSD.org
Subject:   Re: FreeBSD Port: gtk-reference-2.8.20_1
Message-ID:  <44B55315.3090507@FreeBSD.org>
In-Reply-To: <000201c6a5d9$fffbb4d0$0d01a8c0@Arabian>
References:  <000201c6a5d9$fffbb4d0$0d01a8c0@Arabian>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Abdullah Ibn Hamad Al-Marri wrote:
> Hello,
> 
> I tried to build this port but it faild.
> 
> FreeBSD 6.1-STABLE (IM) #0: Wed Jun 28 22:24:31 GMT 2006.
> 
> -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_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/cairo -I/usr/X11R6/include/pango-1.0
> -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 -O2 -fno-strict-aliasing -pipe -mno-sse2 -Wall -MT
> gdkdnd-x11.lo -MD -MP -MF .deps/gdkdnd-x11.Tpo -c gdkdnd-x11.c -o
> gdkdnd-x11.o >/dev/null 2>&1 if /bin/sh
> /usr/ports/x11-toolkits/gtk20/work/gnome-libtool --mode=compile cc
> -DHAVE_CONFIG_H -I. -I. -I../.. -DG_LOG_DOMAIN=\"Gdk\"               
> -DGDK_COMPILATION -I../..                        
> -I../../gdk             -I../../gdk        -DG_DISABLE_DEPRECATED
> -DGDK_PIXBUF_DISABLE_DEPRECATED         -DGDK_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/cairo -I/usr/X11R6/include/pango-1.0
> -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  -O2
> -fno-strict-aliasing -pipe  -mno-sse2 -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 cc -DHAVE_CONFIG_H -I. -I.
> -I../.. -DG_LOG_DOMAIN=\"Gdk\" -DGDK_COMPILATION -I../.. -I../../gdk
> -I../../gdk -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED
> -DGDK_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/cairo
> -I/usr/X11R6/include/pango-1.0 -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 -O2 -fno-strict-aliasing -pipe -mno-sse2 -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:264: warning: implicit declaration of function
> `cairo_xlib_surface_set_size' gdkdrawable-x11.c: In function
> `gdk_x11_ref_cairo_surface': gdkdrawable-x11.c:1479: warning: implicit
> declaration of function `cairo_xlib_surface_create'
> gdkdrawable-x11.c:1482: warning: assignment makes pointer from integer
> without a cast gdkdrawable-x11.c:1484: warning: implicit declaration of
> function `cairo_xlib_surface_create_for_bitmap' gdkdrawable-x11.c:1487:
> warning: assignment makes pointer from integer without a cast *** Error
> code 1
> Stop in /usr/ports/x11-toolkits/gtk20/work/gtk+-2.8.20/gdk/x11. ***
> Error code 1
> Stop in /usr/ports/x11-toolkits/gtk20/work/gtk+-2.8.20/gdk. *** Error
> code 1
> Stop in /usr/ports/x11-toolkits/gtk20/work/gtk+-2.8.20/gdk. *** Error
> code 1
> Stop in /usr/ports/x11-toolkits/gtk20/work/gtk+-2.8.20. *** Error code 1
> Stop in /usr/ports/x11-toolkits/gtk20/work/gtk+-2.8.20. *** Error code 1
> Stop in /usr/ports/x11-toolkits/gtk20.
> Could you please fix this port?

You will need to rebuild cairo with X11 support.  GTK+ requires it.

Joe

- --
Joe Marcus Clarke
FreeBSD GNOME Team	::	gnome@FreeBSD.org
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEtVMVb2iPiv4Uz4cRAo5pAJ4zDZej9RZyWUMoCszpoeYK0UQAbwCdFCG6
x91F4gKsgN1Rf2vd7q1Po9g=
=W0Yl
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?44B55315.3090507>