Date: Mon, 30 Jul 2012 18:15:31 +0300 From: Jeff Tipton <jeff.t@mail.com> To: freebsd-questions@freebsd.org Subject: Re: Problem with pkgconf and glib. Message-ID: <5016A513.1040702@mail.com> In-Reply-To: <D05B7355-9E55-47B3-8449-195B05D578D9@vindaloo.com> References: <D05B7355-9E55-47B3-8449-195B05D578D9@vindaloo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5016A513.1040702>