Skip to contentSkip to conversation

Webkit compilation broken without X11

Buildroot Stephan Hoffmann 2 participants 4 messages Oct 9, 2012

lore
Share & tools
lore
#0 lore raw

Hello,

I am currently trying to compile webkit for my beaglebone using directfb (without X11). Unfortunatelly, compilation stops because of missing X11 headers. This also happens with the qemu_arm_versatile defconfig.

Quoted 9 lines

In file included from ./WebCore/bridge/npruntime_internal.h:28:0,
from ./WebCore/plugins/PluginStream.h:40, from ./WebCore/plugins/PluginView.h:36, from WebCore/bindings/js/ScriptControllerGtk.cpp:35:
./WebCore/bridge/npapi.h:105:26: fatal error: X11/Xlib.h: No such file or directory
compilation terminated.
make[2]: *** [WebCore/bindings/js/libwebkit_1_0_la-ScriptControllerGtk.lo] Fehler 1

In 2012.05 Webkit compiles o.k.

Attached you find the modified defconfig to reproduce this failure.

Kind regards

Stephan

Signature · 9 lines
reLinux     -    Stephan Hoffmann
Am Schmidtgrund 124    50765 K?ln
Tel. +49.221.95595-19    Fax: -64
www.reLinux.de     sho at reLinux.de

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: qemu_arm_versatile_test_defconfig
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20121009/9655ddf9/attachment.ksh>
#1 lore raw

Dear Stephan Hoffmann,

Quoted 16 lines · Stephan Hoffmann

I am currently trying to compile webkit for my beaglebone using directfb (without X11). Unfortunatelly, compilation stops because of missing X11 headers. This also happens with the qemu_arm_versatile defconfig.

Quoted 10 lines

In file included from ./WebCore/bridge/npruntime_internal.h:28:0,
from ./WebCore/plugins/PluginStream.h:40,
from ./WebCore/plugins/PluginView.h:36,
from
WebCore/bindings/js/ScriptControllerGtk.cpp:35: ./WebCore/bridge/npapi.h:105:26:
fatal error: X11/Xlib.h: No such file or directory
compilation terminated.
make[2]: *** [WebCore/bindings/js/libwebkit_1_0_la-ScriptControllerGtk.lo] Fehler 1

Quoted 3 lines

In 2012.05 Webkit compiles o.k.

Attached you find the modified defconfig to reproduce this failure.

Yes, the problem is well-known, and someone who cares about Webkit on DirectFB needs to dig into it. Can you investigate? Maybe it's just a header inclusion lacking the proper #ifdef, or maybe it's more problematic (DirectFB support in Webkit not being well-maintained, for example).

Best regards,

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
#2 lore raw

Am 09.10.2012 11:17, schrieb Thomas Petazzoni:

Quoted 28 lines

Dear Stephan Hoffmann,

Quoted 15 lines · Stephan Hoffmann

I am currently trying to compile webkit for my beaglebone using directfb (without X11). Unfortunatelly, compilation stops because of missing X11 headers. This also happens with the qemu_arm_versatile defconfig.

Quoted 10 lines

In file included from ./WebCore/bridge/npruntime_internal.h:28:0,
from ./WebCore/plugins/PluginStream.h:40,
from ./WebCore/plugins/PluginView.h:36,
from
WebCore/bindings/js/ScriptControllerGtk.cpp:35: ./WebCore/bridge/npapi.h:105:26:
fatal error: X11/Xlib.h: No such file or directory
compilation terminated.
make[2]: *** [WebCore/bindings/js/libwebkit_1_0_la-ScriptControllerGtk.lo] Fehler 1

Quoted 3 lines

In 2012.05 Webkit compiles o.k.

Attached you find the modified defconfig to reproduce this failure.

Yes, the problem is well-known, and someone who cares about Webkit on DirectFB needs to dig into it. Can you investigate? Maybe it's just a header inclusion lacking the proper #ifdef, or maybe it's more problematic (DirectFB support in Webkit not being well-maintained, for example).

Quoted 3 lines

Best regards,

Thomas

Hi Thomas,

I'd like to search the autobuild results to find out when webkit compiled and when not. Is it possible to get them all? Simply "wget -r
http://autobuild.buildroot.net/results" does not work.

Kind regards

Stephan

Signature · 4 lines
reLinux     -    Stephan Hoffmann
Am Schmidtgrund 124    50765 K?ln
Tel. +49.221.95595-19    Fax: -64
www.reLinux.de     sho at reLinux.de
#3 lore raw

Dear Stephan Hoffmann,

Quoted 3 lines · Stephan Hoffmann

I'd like to search the autobuild results to find out when webkit compiled and when not. Is it possible to get them all? Simply "wget -r
http://autobuild.buildroot.net/results" does not work.

No, at the moment, it doesn't provide any search facility. I hope to provide some in the future, but it is not ready at the moment.

Best regards,

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com