Problem with pkgconf and glib.

Jeff Tipton jeff.t at mail.com
Mon Jul 30 15:15:35 UTC 2012


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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at 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


More information about the freebsd-questions mailing list