Source/WebKit2/Shared/API/c/WKBase.h has: #if defined(__APPLE__) && !defined(BUILDING_QT__) #include <WebKit2/WKBaseMac.h> #endif so that will incorrecly try to include the non-existent WebKit2/WKBaseMac.h when building webkit-gtk on OSX. Instead of saying "apple && !qt && !gtk && !..." perhaps you should say "apple && cocoa"
The code in trunk already seems to do that this way. http://trac.webkit.org/browser/trunk/Source/WebKit2/Shared/API/c/WKBase.h I assume you're building a specific release version?
(In reply to comment #1) > The code in trunk already seems to do that this way. > http://trac.webkit.org/browser/trunk/Source/WebKit2/Shared/API/c/WKBase.h > > I assume you're building a specific release version? Yes, this is an issue with the current release version (2.2.3), as well as the last version to support Mountain Lion and earlier (2.0.4).
(In reply to comment #1) > The code in trunk already seems to do that this way. > http://trac.webkit.org/browser/trunk/Source/WebKit2/Shared/API/c/WKBase.h No, it looks like it's now including it when defined(__APPLE__) now (even for QT), but it should not be included when building for GTK/X11 on OS X.
I believe this issue is obsolete based on comments in bug #126492. If this issue is still present in 2.8.1 or 2.9.1 please leave a note so we can reopen.