From owner-freebsd-questions@FreeBSD.ORG Mon Jul 30 15:15:35 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AA50B106564A for ; Mon, 30 Jul 2012 15:15:35 +0000 (UTC) (envelope-from jeff.t@mail.com) Received: from mailout-us.mail.com (mailout-us.mail.com [74.208.122.35]) by mx1.freebsd.org (Postfix) with SMTP id 62AAC8FC17 for ; Mon, 30 Jul 2012 15:15:35 +0000 (UTC) Received: (qmail invoked by alias); 30 Jul 2012 15:15:33 -0000 Received: from unknown (EHLO blazon-pc.runningwild.local) [78.84.105.231] by mail.gmx.com (mp-us009) with SMTP; 30 Jul 2012 11:15:33 -0400 X-Authenticated: #76218138 X-Provags-ID: V01U2FsdGVkX1+D++YyuEuDA1TXDfbZOzgfYCYYIhd9HsrIWq69gq FEFb51AajIvSPZ Message-ID: <5016A513.1040702@mail.com> Date: Mon, 30 Jul 2012 18:15:31 +0300 From: Jeff Tipton User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:9.0) Gecko/20111229 Thunderbird/9.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Subject: Re: Problem with pkgconf and glib. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jul 2012 15:15:35 -0000 On 07/30/2012 17:19, Christopher Hilton wrote: > I'm trying to build emacs with gtk2 on my build box and I'm running into trouble with pkgconf from /usr/ports/devel/pkgconf. The build process dies in devel/gobject-introspection and complains that it cannot find header files for gio-unix-2.0. From what I can see the problem looks like the fact that pkgconf is returning the wrong include path for these header files, running: > > # pkg-config --variable=includedir gio-unix-2.0 returns: > > /usr/local/include/usr/local/include/usr/local/include > > I'm not sure if this is part of the problem but it appears that pkgconf returns one instance of "/usr/local/include" for each dependency listed in the package. E.g. > > # pkg-config --variable=includedir glib-2.0 > > returns: "/usr/local/include" > > To repeat this problem I started with a fresh FreeBSD virtual machine built from 8-STABLE, an empty /usr/local tree and an empty /var/db/pkg directory. Then I traversed to /usr/ports/devel/gobject-introspection and did: > > # make install > > Any help would be appreciated. > > -- Chris > > > > > Chris Hilton e: chris /at/ vindaloo /dot/ com > ------------------------------------------------------------------------ > "All I was doing was trying to get home from work!" > -- Rosa Parks > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" I have the same problem with devel/gobject-introspection. It's also a dependecy for Xorg. A couple of days ago devel/pkg-config was removed from ports as deprecated, and replaced with devel/pkgconf, and consequently the build dependencies of many ports were changed. Maybe this recent change is not thoroughly worked out? Jeff