From owner-freebsd-questions@FreeBSD.ORG Mon Jul 30 14:24:31 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 C3BED106564A for ; Mon, 30 Jul 2012 14:24:31 +0000 (UTC) (envelope-from chris@vindaloo.com) Received: from mail.lhr-its.com (natasha.lhr-its.com [64.204.249.112]) by mx1.freebsd.org (Postfix) with ESMTP id 9106A8FC16 for ; Mon, 30 Jul 2012 14:24:31 +0000 (UTC) Received: from geonosis.vindaloo.com (ool-18e412d2.dyn.optonline.net [24.228.18.210]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.lhr-its.com (Postfix) with ESMTPS id B37805C01B for ; Mon, 30 Jul 2012 10:19:07 -0400 (EDT) Received: from [IPv6:2001:470:1f07:26b:223:6cff:fe80:3def] (unknown [IPv6:2001:470:1f07:26b:223:6cff:fe80:3def]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by geonosis.vindaloo.com (Postfix) with ESMTPSA id 5AA18BB41; Mon, 30 Jul 2012 10:19:07 -0400 (EDT) From: Christopher Hilton Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Mon, 30 Jul 2012 10:19:06 -0400 To: FreeBSD-Questions@freebsd.org Message-Id: Mime-Version: 1.0 (Apple Message framework v1278) X-Mailer: Apple Mail (2.1278) Cc: Subject: 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 14:24:31 -0000 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. =46rom 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=3Dincludedir 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=3Dincludedir glib-2.0=20 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 =20 =20 Chris Hilton e: chris /at/ vindaloo /dot/ com=20= ------------------------------------------------------------------------=20= "All I was doing was trying to get home from work!"=20 -- Rosa Parks