From owner-freebsd-ports@FreeBSD.ORG Mon Dec 17 22:04:36 2007 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E65C16A420 for ; Mon, 17 Dec 2007 22:04:36 +0000 (UTC) (envelope-from david@ion.lu) Received: from linion.ion.lu (linion.ion.lu [80.90.47.168]) by mx1.freebsd.org (Postfix) with ESMTP id C6B3A13C468 for ; Mon, 17 Dec 2007 22:04:35 +0000 (UTC) (envelope-from david@ion.lu) Received: (qmail 96217 invoked by uid 89); 17 Dec 2007 22:39:11 +0100 Received: from chello213047196020.tirol.surfer.at (HELO ?192.168.1.103?) (david@ion.lu@213.47.196.20) by linion.ion.lu with SMTP; 17 Dec 2007 22:39:11 +0100 Message-ID: <4766EC2A.8020601@ion.lu> Date: Mon, 17 Dec 2007 22:37:46 +0100 From: David Raison User-Agent: Thunderbird 2.0.0.9 (X11/20071117) MIME-Version: 1.0 To: dgilbert@velocet.ca, ports@freebsd.org, ahze@FreeBSD.org X-Enigmail-Version: 0.95.5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Subject: gutenprint port problem with WITHOUT_X11=yes X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Dec 2007 22:04:36 -0000 Dear maintainers, I've had a problem installing gutenprint on my lusitania gutenprint # uname -r 6.2-RELEASE-p9 As I use this machine as a file, printer and web-development server only, i.e. headless, I have set "WITHOUT_X11=yes" in my make.conf. Upgrading to gutenprint from gimp-print gave me the error: e-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.12.3/gdk/x11' searching for the error, I've found the following entry in cairo's Makefile: .if defined(WITHOUT_X11) CONFIGURE_ARGS+=--disable-xlib PLIST_SUB+= X11="@comment " .else USE_XORG+= xrender PLIST_SUB+= X11="" .endif I had to comment out the part about disabling xlib to be able to build gutenprint successfully. I don't know if in this case the gutenprint port should check for xlib support in cairo or if there's another dependency issue here. I might as well have overlooked something and wouldn't mind to be corrected ;) Thanks for your time, David Raison