GNOME Bugzilla – Bug 454958
compilation error /w cairo-directfb
Last modified: 2007-09-07 05:51:23 UTC
Please describe the problem: Compilation fails in gdk/directfb because includes of cairo and cairo-directfb are reversed. This is under Ubuntu 7.10-pre. Steps to reproduce: 1. svn ... 2. ./autogen.sh 3. ./configure ... --with-gdktarget=directfb 4. make Actual results: Fails in gdk/directfb with: #error Cairo was not compiled with support for the directfb backend Expected results: Does this happen every time? 100% Other information: Patch follows
Created attachment 91452 [details] [review] patch fixing the issue This patch just reverses the order of cairo and cairo-directfb in CFLAGS. Tested on Ubuntu 7.10-pre.
Looks similar to #447118
Patch looks wrong to me. Blindly changing the order of some variables is not the way to go here. It really looks more like a bug in cairo-directfb to me if it ships a cairo.h header. Why don't we have this problem with cairo-win32 or cairo-xlib ?
*** This bug has been marked as a duplicate of 447118 ***