GNOME Bugzilla – Bug 585401
Compile error with epiphany 2.27
Last modified: 2009-10-03 17:03:01 UTC
I'm trying to rebuild gwget 1.0.1 (not available in BZ) against epiphany 2.27 with gcc 4.4.0, so I patched configure.ac as I previously in bug # 571789, but no luck: In file included from ephy-gwget-extension.c:32: /usr/include/epiphany/2.27/epiphany/ephy-embed-single.h:21:2: error: #error "Only <epiphany/epiphany.h> can be included directly." In file included from /usr/include/epiphany/2.27/epiphany/ephy-embed-single.h:27, from ephy-gwget-extension.c:32: /usr/include/epiphany/2.27/epiphany/ephy-embed.h:21:2: error: #error "Only <epiphany/epiphany.h> can be included directly." In file included from /usr/include/epiphany/2.27/epiphany/ephy-embed.h:27, from /usr/include/epiphany/2.27/epiphany/ephy-embed-single.h:27, from ephy-gwget-extension.c:32: /usr/include/epiphany/2.27/epiphany/ephy-embed-event.h:22:2: error: #error "Only <epiphany/epiphany.h> can be included directly." mv -f .deps/ephy-gwget.Tpo .deps/ephy-gwget.Plo In file included from ephy-gwget-extension.c:33: /usr/include/epiphany/2.27/epiphany/ephy-embed-shell.h:21:2: error: #error "Only <epiphany/epiphany.h> can be included directly." ../src/gwget-application.c: In function 'gwget_application_open_uri': ../src/gwget-application.c:156: warning: implicit declaration of function 'strlen' ../src/gwget-application.c:156: warning: incompatible implicit declaration of built-in function 'strlen' make[2]: *** [ephy-gwget-extension.lo] Error 1
Created attachment 136311 [details] complete build log
Created attachment 136656 [details] [review] patch to fix epiphany 2.27 include Can you please test this patch? It seems that epiphany have changed the method to include it's files. Thanks.
Doesn't change a thing, still the same error.
Created attachment 139940 [details] [review] Patch I'll use in openSUSE Seems to work (it at least builds ;-))
Patch committed to git. Thanks Vincent.
*** Bug 595816 has been marked as a duplicate of this bug. ***