RESOLVED FIXED 51458
build failure: PluginViewGtk.cpp:65:23: fatal error: gdkconfig.h: No such file or directory
https://bugs.webkit.org/show_bug.cgi?id=51458
Summary build failure: PluginViewGtk.cpp:65:23: fatal error: gdkconfig.h: No such fil...
Craig Keogh
Reported 2010-12-22 03:04:38 PST
Building WebKit against gtk+ 3.0 (2.91.8) fails with: In file included from WebCore/plugins/gtk/PluginViewGtk.cpp:43:0: ./WebCore/platform/gtk/GtkVersioning.h:34:0: warning: "GDK_DISPLAY" redefined /opt/gnome/include/gtk-3.0/gdk/gdkdisplay.h:38:0: note: this is the location of the previous definition WebCore/plugins/gtk/PluginViewGtk.cpp:65:23: fatal error: gdkconfig.h: No such file or directory compilation terminated. Replace: #include <gdkconfig.h> with: #include <gdk/gdkconfig.h> and build resumes.
Attachments
Wouter Bolsterlee
Comment 1 2010-12-22 09:48:46 PST
No, the right fix is slightly different, as noted here: http://mail.gnome.org/archives/desktop-devel-list/2010-December/msg00095.html This is the patch: diff --git a/WebCore/plugins/gtk/PluginViewGtk.cpp b/WebCore/plugins/gtk/PluginViewGtk.cpp index 925ab79..adc0896 100644 --- a/WebCore/plugins/gtk/PluginViewGtk.cpp +++ b/WebCore/plugins/gtk/PluginViewGtk.cpp @@ -62,7 +62,7 @@ #include <runtime/JSLock.h> #include <runtime/JSValue.h> -#include <gdkconfig.h> +#include <gdk/gdk.h> #include <gtk/gtk.h> #if defined(XP_UNIX)
Wouter Bolsterlee
Comment 2 2010-12-22 09:49:40 PST
... or remove the #include completely, since #include gtk/gtk.h is also there.
Alexey Proskuryakov
Comment 3 2010-12-22 10:24:17 PST
See also: bug 51472.
Wouter Bolsterlee
Comment 4 2010-12-22 16:12:43 PST
This bug should be closed as a duplicate of #51487, since that report includes the issue reported here.
Xan Lopez
Comment 5 2010-12-22 16:17:24 PST
Xan Lopez
Comment 6 2010-12-22 16:18:31 PST
*** Bug 51472 has been marked as a duplicate of this bug. ***
Note You need to log in before you can comment on or make changes to this bug.