RESOLVED FIXED 126416
[GTK] --enable-webkit2 fails on OS X
https://bugs.webkit.org/show_bug.cgi?id=126416
Summary [GTK] --enable-webkit2 fails on OS X
Jeremy Huddleston Sequoia
Reported 2014-01-02 20:45:25 PST
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"
Attachments
Zan Dobersek
Comment 1 2014-01-03 00:46:48 PST
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?
Jeremy Huddleston Sequoia
Comment 2 2014-01-03 07:41:02 PST
(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).
Jeremy Huddleston Sequoia
Comment 3 2014-01-03 07:45:29 PST
(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.
Michael Catanzaro
Comment 4 2015-05-10 14:09:20 PDT
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.
Note You need to log in before you can comment on or make changes to this bug.