| Summary: | [pixman 0.19.2] Does not build cleanly | ||
|---|---|---|---|
| Product: | pkg-config | Reporter: | Bug Reporter <my.somewhat.lengthy.loginname> |
| Component: | src | Assignee: | Tollef Fog Heen <tfheen> |
| Status: | RESOLVED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | medium | CC: | soren.sandmann |
| Version: | unspecified | ||
| Hardware: | x86 (IA32) | ||
| OS: | Linux (All) | ||
| Whiteboard: | |||
| i915 platform: | i915 features: | ||
| Attachments: |
Build log for the bug report
Build log from "make V=1" (when pixman is not installed) pkg-config output (slightly more detailed than requested in comment #2) |
||
|
Description
Bug Reporter
2010-08-22 13:43:56 UTC
Created attachment 38070 [details]
Build log for the bug report
Thanks for the bug report.
Please post:
- the log when building with
make V=1
when pixman is not installed,
- the output of
pkg-config --cflags --libs glib-2.0
pkg-config --cflags --libs gtk+-2.0
- and finally, the location of glib.h on your system
Thanks,
Created attachment 38091 [details]
Build log from "make V=1" (when pixman is not installed)
Created attachment 38092 [details] pkg-config output (slightly more detailed than requested in comment #2) ... and finally the location of glib.h: root [~] find /usr -name glib.h /usr/include/glib-2.0/glib.h root [~] What does
pkg-config --version
say?
(In reply to comment #6) It says 0.25 . So apparently there is a difference in behavior between pkg-config v 0.23 and v 0.25, where in 0.25 PKG_CONFIG_EXISTS will return true for gtk+-2.0 even though the pixman dependency is missing, whereas in 0.23 it won't.
I'll mail a patch shortly that should work around the problem in pixman.
Moving this bug to pkg-config, although I'm not sure if the change is intentional or not.
Here is the configure.ac code in question:
AC_ARG_ENABLE(gtk,
[AC_HELP_STRING([--enable-gtk],
[enable tests using GTK+ [default=auto]])],
[enable_gtk=$enableval], [enable_gtk=auto])
PKG_PROG_PKG_CONFIG
if test $enable_gtk = auto ; then
PKG_CHECK_EXISTS([gtk+-2.0], [enable_gtk=yes], [enable_gtk=no])
fi
if test $enable_gtk = yes ; then
PKG_CHECK_MODULES(GTK, [gtk+-2.0])
fi
AM_CONDITIONAL(HAVE_GTK, [test "x$enable_gtk" = xyes])
|
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.