From owner-freebsd-ports@FreeBSD.ORG Wed Jul 7 09:52:26 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D0C3416A4CF; Wed, 7 Jul 2004 09:52:26 +0000 (GMT) Received: from sv02.webonaut.com (kirk.webonaut.com [212.41.243.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id C546143D39; Wed, 7 Jul 2004 09:52:25 +0000 (GMT) (envelope-from klammer@webonaut.com) Received: from localhost (localhost [127.0.0.1]) by sv02.webonaut.com (Postfix) with ESMTP id 37FED7642C; Wed, 7 Jul 2004 11:52:19 +0200 (CEST) Received: from sv02.webonaut.com ([127.0.0.1]) by localhost (sv02.webonaut.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 18096-05; Wed, 7 Jul 2004 11:52:13 +0200 (CEST) Received: from [192.168.0.9] (sisko.webonaut.com [212.41.243.28]) by sv02.webonaut.com (Postfix) with ESMTP id A41C976428; Wed, 7 Jul 2004 11:52:13 +0200 (CEST) Message-ID: <40EBC7CF.1050500@webonaut.com> Date: Wed, 07 Jul 2004 11:52:15 +0200 From: Franz Klammer User-Agent: Mozilla Thunderbird 0.7.1 (X11/20040705) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Eric Anholt References: <1088990415.987.9.camel@leguin> <1089016354.987.14.camel@leguin> <1089190070.893.68.camel@leguin> In-Reply-To: <1089190070.893.68.camel@leguin> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at webonaut.com cc: ports@freebsd.org cc: Jeremy Messenger cc: x11@freebsd.org Subject: Re: dependency fixing for xorg stuff X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jul 2004 09:52:27 -0000 Eric Anholt wrote: > On Mon, 2004-07-05 at 10:04, Jeremy Messenger wrote: > [ fluxbox lines removed ] >>>>A question, how would you like me to deal with the libXrender? The >>>>x11/gcursor, my port, will need the libXrender if xorg is installed. It >>>>doesn't need this if XFree86-lib is installed. If you already have this >>>>plan, then nevermind and I will wait. >>> >>>xorg-libraries provides libXrender just like XFree86-4-libraries does. >>>USE_XLIB will cover it fine. You may be thinking of the modular x >>>effort, which is unfortunately still some time off before it'll be >>>releasable for general use. Because of that I'm not working on >>>supporting it, for the moment. >> >>I have tested gcursor with xorg and it will fail compile because of >>missing xrender.pc. I didn't check nor realized that if xorg-lib already >>has libXrender, I just ammused that it needs libXrender so it's why I >>asked and never gave the enough detail. However, Franz has gave the >>perfect answer with bugzilla and etc of missing xrender.pc. Thanks! :-) >> >>Here's error of gcursor compile: >>========================================= >>checking for >> glib-2.0 >> gobject-2.0 >> gtk+-2.0 >> gnome-vfs-2.0 >> libgnomeui-2.0 >> libglade-2.0 >> gconf-2.0 >> xcursor >> ... gnome-config: not found >>gnome-config: not found >>Package xrender was not found in the pkg-config search path. >>Perhaps you should add the directory containing `xrender.pc' >>to the PKG_CONFIG_PATH environment variable >>Package 'xrender', required by 'Xcursor', not found >> >>configure: error: Library requirements ( >> glib-2.0 >> gobject-2.0 >> gtk+-2.0 >> gnome-vfs-2.0 >> libgnomeui-2.0 >> libglade-2.0 >> gconf-2.0 >> xcursor >> ) not met; consider adjusting the PKG_CONFIG_PATH environment >>variable if your libraries are in a nonstandard prefix so pkg-config can >>find them. >>===> Script "configure" failed unexpectedly. >>========================================= > > > I can't reproduce this myself: > > checking for perl... /usr/bin/perl > checking for pkg-config... /usr/local/bin/pkg-config > checking for > glib-2.0 > gobject-2.0 > gtk+-2.0 > gnome-vfs-2.0 > libgnomeui-2.0 > libglade-2.0 > gconf-2.0 > xcursor > ... yes > checking GCURSOR_CFLAGS... -D_REENTRANT -DORBIT2=1 -DXTHREADS > -DXUSE_MTSAFE_API -I/usr/local/include/glib-2.0 > -I/usr/local/lib/glib-2.0/include -I/usr/local/include/atk-1.0 > -I/usr/local/include/bonobo-activation-2.0 > -I/usr/local/include/orbit-2.0 -I/usr/local/include/li.... > > Are you sure your gnome install isn't broken? ("... gnome-config: not > found") > guessing that gnome-config is some sort of fallback if xrender.pc will not be found. after i applied the patch from xorg's bugzilla i didn't see that error message again. isn't it possible that you have some x11/libX*-ports (at least libXrender) installed ... maybe? my first idea was to install libXrender but then i've seen that all the libraries will be still installed with xorg-libraries. the only different was the missing xrender.pc. and if i take a look into xcursor.pc i see the following: ... Requires: xrender ... therefor i think this i a xorg-libraries bug. franz.