After some hacking in Makefiles, I managed to ./configure WebKit
(hoorray!). In particular, I'm using branch webkitdfb_2010-11-18.

Unfortunately 'make' fails with this error:

...
CXX    WebCore/bindings/js/libwebkitgtk___la-JSDOMWindowBase.lo
CXX    WebCore/bindings/js/libwebkitgtk___la-JSDOMWindowCustom.lo
In file included from ./DerivedSources/WebCore/JSSharedWorker.h:27:0,
                 from WebCore/bindings/js/JSDOMWindowCustom.cpp:51:
./WebCore/workers/SharedWorker.h:41:48: error: invalid use of
incomplete type 'struct WebCore::AbstractWorker'
./WebCore/dom/EventTarget.h:43:11: error: forward declaration of
'struct WebCore::AbstractWorker'
In file included from WebCore/bindings/js/JSDOMWindowCustom.cpp:51:0:
./DerivedSources/WebCore/JSSharedWorker.h:34:48: error: expected
class-name before '{' token
./DerivedSources/WebCore/JSSharedWorker.h:35:13: error:
'JSAbstractWorker' does not name a type
./DerivedSources/WebCore/JSSharedWorker.h:57:108: error: 'Base' has
not been declared
./DerivedSources/WebCore/JSSharedWorker.h: In static member function
'static WTF::PassRefPtr<JSC::Structure>
WebCore::JSSharedWorker::createStructure(JSC::JSValue)':
./DerivedSources/WebCore/JSSharedWorker.h:46:98: error:
'AnonymousSlotCount' was not declared in this scope
./DerivedSources/WebCore/JSSharedWorker.h: In member function
'WebCore::SharedWorker* WebCore::JSSharedWorker::impl() const':
./DerivedSources/WebCore/JSSharedWorker.h:54:43: error: 'Base' has not
been declared
make[1]: *** [WebCore/bindings/js/libwebkitgtk___la-JSDOMWindowCustom.lo]
Error 1
make[1]: Leaving directory `/[...]/WebKit-git'
make: *** [all] Error 2

I've recompiled using the '--disable-shared-workers' configure flag
and it failed with this error:

...
CC     
WebCore/platform/network/soup/cache/libwebkitgtk___la-soup-request-file.lo
WebCore/platform/network/soup/cache/soup-request-file.c: In function
'webkit_soup_request_file_check_uri':
WebCore/platform/network/soup/cache/soup-request-file.c:78:21: error:
'SOUP_URI_SCHEME_FILE' undeclared (first use in this function)
WebCore/platform/network/soup/cache/soup-request-file.c:78:21: note:
each undeclared identifier is reported only once for each function it
appears in
WebCore/platform/network/soup/cache/soup-request-file.c: In function
'webkit_soup_request_file_ensure_file':
WebCore/platform/network/soup/cache/soup-request-file.c:162:21: error:
'SOUP_URI_SCHEME_FILE' undeclared (first use in this function)
WebCore/platform/network/soup/cache/soup-request-file.c:182:28: error:
'SOUP_URI_SCHEME_FTP' undeclared (first use in this function)
make[1]: *** 
[WebCore/platform/network/soup/cache/libwebkitgtk___la-soup-request-file.lo]
Error 1
make[1]: Leaving directory `/[...]/WebKit-git'
make: *** [all] Error 2

Now I'm wondering if those errors are due to my toolchain (I'm
cross-compiling for Atom) or they are issues in the source code/side
libraries.

This is what I'm using:

cairo 1.10.0
curl 7.25.0
directfb/direct/fusion 1.4.3
enchant 1.6.0
fontconfig 2.8.0
freetype 2.3.5
gettext 0.18.1.1
glib 2.26.1
gperf 3.0.4
icu 3.8
libpng 1.2.49
libsoup 2.28.2
libxml2 2.7.8
libxslt 1.1.26
Lite 0.8.10
pango 1.27.1
pixman 0.19.2
SQLite3 autoconf-3071100

I couldn't find a list of the required versions for each library, so I
would be grateful if anyone could provide a link to that, if exists.

Also, the code looks allright, my C++ is a bit rusty so I may have
missed something... any idea?

Cheers,
Piero

On Wed, Apr 11, 2012 at 7:05 PM, Timothy Chon <devc...@gmail.com> wrote:
> +3, I've been interested in getting this to compile correctly (on linux)
> too.
>
> --tim
>
>
> On Wed, Apr 11, 2012 at 10:56, Dave Henderson <dhender...@digital-pipe.com>
> wrote:
>>
>> Plus 2.  I'm very interested in using webkit on DFB for certain projects.
>>
>> Dave
>>
>>
>> On 04/11/2012 01:13 PM, Sriram Neelakandan wrote:
>>
>> Plus 1. very much interested to support and contribute to this project.
>> AFAIK, i heard that there is a more recent port that is yet to be pushed
>> out.
>> But looks like the core-maintainers are busy with some other stuff ..
>>
>> I managed to compile the 2010-11-18 stuff on PC.. it did work well.
>> And I don't think you need GTK for it. It just requires LiTE/ Cairo / DFB
>>
>> regards
>> Sriram
>>
>> On Wed, Apr 11, 2012 at 9:57 PM, rippel tippel <rippeltip...@gmail.com>
>> wrote:
>>>
>>> Hi,
>>>
>>> I'm wondering whether the WebKit DFB project is still running/supported.
>>>
>>> I've cloned the git repo and moved to branch webkitdfb_2010-11-18, but
>>> have some issues in cross-compiling it, as my platform doesn't have
>>> GTK+ (error is about 'gail' not found, actually).
>>>
>>> Could anyone provide any advice?
>>>
>>
>>
>>
>> _______________________________________________
>> directfb-users mailing list
>> directfb-users@directfb.org
>> http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
>>
>>
>> _______________________________________________
>> directfb-users mailing list
>> directfb-users@directfb.org
>> http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
>>
>
>
> _______________________________________________
> directfb-users mailing list
> directfb-users@directfb.org
> http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
>
_______________________________________________
directfb-users mailing list
directfb-users@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to