Date: Mon, 30 Jul 2012 10:19:06 -0400 From: Christopher Hilton <chris@vindaloo.com> To: FreeBSD-Questions@freebsd.org Subject: Problem with pkgconf and glib. Message-ID: <D05B7355-9E55-47B3-8449-195B05D578D9@vindaloo.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D05B7355-9E55-47B3-8449-195B05D578D9>