[Webkit-unassigned] [Bug 52219] WebKit2 GTK Fails to Build #include nested too deeply

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 13 08:12:47 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=52219





--- Comment #1 from Andrew <ablaich at gmail.com>  2011-01-13 08:12:47 PST ---
The "nested too deeply" error can be worked around by disabling the config.h file from being generated created properly in DerivedSources/WebKit2/include/WebCore/config.h by modifying code in WebKit2/Scripts/generate-forwarding-headers.pl

Additional changes are needed in the WebKit2/WebKit2Prefix.h to add building support for gtk to allow the following environment variables to be set:

#if defined(BUILDING_GTK__)
#define WTF_USE_JSC 1
#define WTF_USE_V8 0

#define JS_EXPORTDATA
#define JS_EXPORTCLASS
#endif

However, the next error that pops up may need some GTK specific coding of the DrawingContext system: 

  CXX    WebKit2/Shared/libWebKit2_la-SessionState.lo
In file included from ../../WebKit2/UIProcess/WebPageProxy.h:31,
                 from ../../WebKit2/UIProcess/WebBackForwardList.h:32,
                 from ../../WebKit2/Shared/SessionState.h:29,
                 from ../../WebKit2/Shared/SessionState.cpp:26:
../../WebKit2/UIProcess/DrawingAreaProxy.h:65: error: ‘PlatformDrawingContext’ has not been declared
make[1]: *** [WebKit2/Shared/libWebKit2_la-SessionState.lo] Error 1

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list