From owner-freebsd-gnome Tue Aug 13 10: 6:27 2002 Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 47CA537B400 for ; Tue, 13 Aug 2002 10:06:25 -0700 (PDT) Received: from eos.telenet-ops.be (eos.telenet-ops.be [195.130.132.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 815BD43E6A for ; Tue, 13 Aug 2002 10:06:24 -0700 (PDT) (envelope-from lah@pandora.be) Received: from localhost (localhost.localdomain [127.0.0.1]) by eos.telenet-ops.be (Postfix) with SMTP id 4E5F520423; Tue, 13 Aug 2002 19:06:23 +0200 (CEST) Received: from archipelagos.pandora.be (D5764563.kabel.telenet.be [213.118.69.99]) by eos.telenet-ops.be (Postfix) with ESMTP id A478A2046D; Tue, 13 Aug 2002 19:06:22 +0200 (CEST) Date: Tue, 13 Aug 2002 19:06:10 +0200 (CEST) From: la hache X-X-Sender: h@archipelagos.pandora.be To: Joe Marcus Clarke Cc: gnome@FreeBSD.ORG Subject: Re: can't compile atk In-Reply-To: <1029257783.311.9.camel@gyros.marcuscom.com> Message-ID: <20020813190343.W332-100000@archipelagos.pandora.be> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-gnome@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG my pkg-config has been version 0.12.0 for ages, the .pc file is in the right location and contains the exact same string that you gave me. i really don't understand. on all my secondary freebsd systems where i installed 4.6 from scratch on then cvsupped (even from 4.5), atk compiled like a breeze. something must be broken on this system, but what ? On 13 Aug 2002, Joe Marcus Clarke wrote: > On Tue, 2002-08-13 at 09:48, la hache wrote: > > i can't compile atk with latest cvs tree: > > > > checking for GLIB - version >= 2.0.0... no > > *** Could not run GLIB test program, checking why... > > *** The test program failed to compile or link. See the file config.log > > for the > > *** exact error that occured. This usually means GLIB is incorrectly > > installed. > > configure: error: > > > > but glib 2.0.6 is installed ! i don't understand. > > Here's the thing. GNOME configure scripts are using the pkgconfig > package (which installs the /usr/local/bin/pkg-config binary) to read > the .pc files to determine package properties for the various > dependencies. > > Around line 7290, configure uses /usr/local/bin/pkg-config to try and > detect glib. In order to do this, you need a > /usr/local/libdata/pkgconfig/glib-2.0.pc file. This file should contain > the following for Cflags: > > -I${includedir}/glib-2.0 -I${libdir}/glib-2.0/include > > One of three things aren't happening. Either glib-2.0.pc exists in the > right path, but pkg-config isn't looking there, or the file doesn't > exist, or the Cflags are incorrect. As you can see from line 7471, > configure is compiling the glib test program _without_ the correct > include path. Therefore, it doesn't find glib.h, and the test program > doesn't build. > > So, once you've checked to make sure the glib-2.0.pc exists in the right > location, then upgrade pkgconfig _from ports_ to 0.12.0 (mandatory for > FreeBSD 4.x). Then, verify the contents of the glib-2.0.pc file are > good. After that, I see no reason why GNOME 2.0 (or at least atk) > shouldn't build for you. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-gnome" in the body of the message