error while make webkit clutter
following this link https://github.com/rkudiyarov/ClutterWebkit.git
help me to solve this error ./ClutterWebkit-master/WebKitTools/Scripts/build-webkit –prefix=”$ROOT_DIR” –host=”$TARGET” –target=”i586-mingw32msvc” –clutter –minimal –debug CXX WebCore/svg/libwebkit_clutter_1_0_la-SVGZoomEvent.lo CXX WebCore/bindings/js/libwebkit_clutter_1_0_la-ScriptControllerClutter.lo CXX WebCore/platform/text/libwebkit_clutter_1_0_la-TextCodecICU.lo CXX WebCore/platform/text/libwebkit_clutter_1_0_la-TextBreakIteratorICU.lo CXX WebCore/platform/graphics/cairo/libwebkit_clutter_1_0_la-FontCacheFreeType.lo In file included from ../../WebCore/bridge/npruntime_internal.h:28, from ../../WebCore/plugins/PluginStream.h:38, from ../../WebCore/plugins/PluginView.h:47, from ../../WebCore/bindings/js/ScriptControllerClutter.cpp:35: ../../WebCore/bridge/npapi.h:93:22: error: X11/Xlib.h: No such file or directory ../../WebCore/bridge/npapi.h:94:23: error: X11/Xutil.h: No such file or directory In file included from ../../WebCore/plugins/PluginStream.h:38, from ../../WebCore/plugins/PluginView.h:47, from ../../WebCore/bindings/js/ScriptControllerClutter.cpp:35: ../../WebCore/bridge/npruntime_internal.h:33:31: error: X11/Xresource.h: No such file or directory CXX WebCore/platform/graphics/cairo/libwebkit_clutter_1_0_la-FontCustomPlatformData.lo CXX WebCore/platform/graphics/cairo/libwebkit_clutter_1_0_la-FontPlatformDataFreeType.lo CXX WebCore/platform/graphics/cairo/libwebkit_clutter_1_0_la-GlyphPageTreeNodeCairo.lo CXX WebCore/platform/graphics/cairo/libwebkit_clutter_1_0_la-SimpleFontDataCairo.lo In file included from ../../WebCore/bridge/npruntime_internal.h:28, from ../../WebCore/plugins/PluginStream.h:38, from ../../WebCore/plugins/PluginView.h:47, from ../../WebCore/bindings/js/ScriptControllerClutter.cpp:35: ../../WebCore/bridge/npapi.h:269: error: ISO C++ forbids declaration of ‘Display’ with no type ../../WebCore/bridge/npapi.h:269: error: expected ‘;’ before ‘*’ token ../../WebCore/bridge/npapi.h:270: error: ISO C++ forbids declaration of ‘Visual’ with no type ../../WebCore/bridge/npapi.h:270: error: expected ‘;’ before ‘*’ token ../../WebCore/bridge/npapi.h:271: error: ‘Colormap’ does not name a type In file included from ../../WebCore/bindings/js/ScriptControllerClutter.cpp:35: ../../WebCore/plugins/PluginView.h:402: error: ‘Pixmap’ does not name a type ../../WebCore/plugins/PluginView.h:403: error: ISO C++ forbids declaration of ‘Visual’ with no type ../../WebCore/plugins/PluginView.h:403: error: expected ‘;’ before ‘*’ token ../../WebCore/plugins/PluginView.h:404: error: ‘Colormap’ does not name a type ../../WebCore/plugins/PluginView.h:405: error: ISO C++ forbids declaration of ‘Display’ with no type ../../WebCore/plugins/PluginView.h:405: error: expected ‘;’ before ‘*’ token ../../WebCore/plugins/PluginView.h:407: error: ‘XEvent’ has not been declared CXX WebKit/clutter/webkit/libwebkit_clutter_1_0_la-webkitenumtypes.lo CXX JavaScriptCore/wtf/libJavaScriptCore_la-HashTable.lo make[1]: *** [WebCore/bindings/js/libwebkit_clutter_1_0_la-ScriptControllerClutter.lo] Error 1 make[1]: *** Waiting for unfinished jobs…. In file included from ../../WebKit/clutter/webkit/webkitwebview.h:35, from ././WebKit/clutter/webkit/webkitenumtypes.h:70, from WebKit/clutter/webkit/webkitenumtypes.cpp:6: ../../WebKit/clutter/webkit/webkitactor.h:67:7: warning: no newline at end of file make[1]: Leaving directory `/home/emo2/Music/ClutterWebkit/ClutterWebkit-master/WebKitBuild/Debug’ make: *** [all] Error 2 Failed to build WebKit using ‘make’! root@emo2:/home/emo2/Music# cd ClutterWebkit/ root@emo2:/home/emo2/Music/ClutterWebkit# cd ClutterWebkit-master/ root@emo2:/home/emo2/Music/ClutterWebkit/ClutterWebkit-master# make clean make[1]: Entering directory `/home/emo2/Music/ClutterWebkit/ClutterWebkit-master/JavaScriptCore’ ( xcodebuild -target All -alltargets clean `perl -I../WebKitTools/Scripts -Mwebkitdirs -e ‘print XcodeOptionString()’` | grep -v setenv && exit ${PIPESTATUS[0]} ) /bin/sh: 1: xcodebuild: not found make[1]: *** [clean] Error 1 make[1]: Leaving directory `/home/emo2/Music/ClutterWebkit/ClutterWebkit-master/JavaScriptCore’ make: *** [clean] Error 2 ./ClutterWebkit-master/WebKitTools/Scripts/build-webkit –prefix=”$ROOT_DIR” –host=”$TARGET” –target=”i586-mingw32msvc” \ –clutter –minimal –debug –with-target=win32 gives error as *** Warning: linker path does not have real file for library -lpthread. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have *** because I did check the linker path looking for a file starting *** with libpthread but no candidates were found. (…for file magic test) *** Warning: linker path does not have real file for library -licuin. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have *** because I did check the linker path looking for a file starting *** with libicuin and none of the candidates passed a file format test *** using a file magic. Last file checked: /home/emo2/Music/clutter-cross/lib/libpng14.dll.a *** Warning: linker path does not have real file for library -licuuc. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have *** because I did check the linker path looking for a file starting *** with libicuuc and none of the candidates passed a file format test *** using a file magic. Last file checked: /home/emo2/Music/clutter-cross/lib/libpng14.dll.a *** The inter-library dependencies that have been dropped here will be *** automatically added whenever a program is linked with this library *** or is declared to -dlopen it. *** Since this library must not contain undefined symbols, *** because either the platform does not support them or *** it was explicitly requested with -no-undefined, *** libtool will only create a static version of it. make[1]: Leaving directory `/home/emo2/Music/ClutterWebkit/ClutterWebkit-master/WebKitBuild/Debug’ make: *** [all] Error 2 Failed to build WebKit using ‘make’! |
this is the fatal error:
Code:
../../WebCore/bridge/npapi.h:93:22: error: X11/Xlib.h: No such file or directory |
already installed
dependencies already installed like above error header file is in sudo apt-get install libx11-dev.
|
different error
for X11 exported PKG_CONFIG_PATH now the error is like this
from ../../WebCore/bindings/gobject/WebKitDOMBinding.cpp:27: /home/emo2/Music/clutter-cross/include/unicode/uintrnal.h:26:9: warning: "U_DISABLE_RENAMING" is not defined In file included from ../../WebCore/bindings/gobject/GObjectEventListener.cpp:20: ../../WebCore/bindings/gobject/GObjectEventListener.h:30: error: expected class-name before ‘{’ token ../../WebCore/bindings/gobject/GObjectEventListener.h:33: error: expected ‘,’ or ‘...’ before ‘*’ token ../../WebCore/bindings/gobject/GObjectEventListener.h:33: error: ISO C++ forbids declaration of ‘EventListener_46’ with no type ../../WebCore/bindings/gobject/GObjectEventListener.h:40: error: expected ‘,’ or ‘...’ before ‘&’ token ../../WebCore/bindings/gobject/GObjectEventListener.h:40: error: ISO C++ forbids declaration of ‘EventListener_46’ with no type ../../WebCore/bindings/gobject/GObjectEventListener.h: In static member function ‘static const WebCore::GObjectEventListener* WebCore::GObjectEventListener::cast(int)’: ../../WebCore/bindings/gobject/GObjectEventListener.h:35: error: ‘listener’ was not declared in this scope ../../WebCore/bindings/gobject/GObjectEventListener.h:35: error: ‘GObjectEventListenerType’ was not declared in this scope ../../WebCore/bindings/gobject/GObjectEventListener.h: In constructor ‘WebCore::GObjectEventListener::GObjectEventListener(GObject*, const char*)’: ../../WebCore/bindings/gobject/GObjectEventListener.h:44: error: class ‘WebCore::GObjectEventListener’ does not have any field named ‘EventListener_46’ ../../WebCore/bindings/gobject/GObjectEventListener.h:44: error: ‘GObjectEventListenerType’ was not declared in this scope In file included from ../../WebCore/dom/EventTarget.h:36, from ../../WebCore/dom/Event.h:27, from ../../WebCore/bindings/gobject/GObjectEventListener.cpp:22: ../../WebCore/dom/RegisteredEventListener.h: At global scope: ../../WebCore/dom/RegisteredEventListener.h:34: error: ‘EventListener_46’ was not declared in this scope ../../WebCore/dom/RegisteredEventListener.h:34: error: template argument 1 is invalid ../../WebCore/dom/RegisteredEventListener.h:40: error: ‘EventListener_46’ was not declared in this scope ../../WebCore/dom/RegisteredEventListener.h:40: error: template argument 1 is invalid ../../WebCore/dom/RegisteredEventListener.h: In function ‘bool WebCore::operator==(const WebCore::RegisteredEventListener&, const WebCore::RegisteredEventListener&)’: ../../WebCore/dom/RegisteredEventListener.h:46: error: invalid type argument of ‘unary *’ ../../WebCore/dom/RegisteredEventListener.h:46: error: invalid type argument of ‘unary *’ In file included from ../../WebCore/dom/Event.h:27, from ../../WebCore/bindings/gobject/GObjectEventListener.cpp:22: ../../WebCore/dom/EventTarget.h: In member function ‘void WebCore::EventTarget::markJSEventListeners(JSC::MarkStack&)’: ../../WebCore/dom/EventTarget.h:221: error: base operand of ‘->’ is not a pointer ../../WebCore/dom/EventTarget.h: In member function ‘void WebCore::EventTarget::invalidateJSEventListeners(JSC::JSObject*)’: ../../WebCore/dom/EventTarget.h:235: error: base operand of ‘->’ is not a pointer ../../WebCore/bindings/gobject/GObjectEventListener.cpp: At global scope: ../../WebCore/bindings/gobject/GObjectEventListener.cpp:38: error: prototype for ‘bool WebCore::GObjectEventListener::operator==(const WebCore::EventListener_46&)’ does not match any in class ‘WebCore::GObjectEventListener’ ../../WebCore/bindings/gobject/GObjectEventListener.h:40: error: candidate is: virtual bool WebCore::GObjectEventListener::operator==(int) ../../WebCore/bindings/gobject/GObjectEventListener.cpp: In member function ‘bool WebCore::GObjectEventListener::operator==(const WebCore::EventListener_46&)’: ../../WebCore/bindings/gobject/GObjectEventListener.cpp:40: error: invalid conversion from ‘const WebCore::EventListener_46*’ to ‘int’ ../../WebCore/bindings/gobject/GObjectEventListener.cpp:40: error: initializing argument 1 of ‘static const WebCore::GObjectEventListener* WebCore::GObjectEventListener::cast(int)’ ../../JavaScriptCore/wtf/PassRefPtr.h: In function ‘void WTF::derefIfNotNull(T*) [with T = WebCore::GObjectEventListener]’: ../../JavaScriptCore/wtf/PassRefPtr.h:73: instantiated from ‘WTF::PassRefPtr<T>::~PassRefPtr() [with T = WebCore::GObjectEventListener]’ ../../WebCore/bindings/gobject/GObjectEventListener.h:32: instantiated from here ../../JavaScriptCore/wtf/PassRefPtr.h:58: error: ‘class WebCore::GObjectEventListener’ has no member named ‘deref’ make[1]: *** [WebCore/bindings/gobject/libwebkit_clutter_1_0_la-GObjectEventListener.lo] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/home/emo2/Music/ClutterWebkit/ClutterWebkit-master/WebKitBuild/Debug' make: *** [all] Error 2 Failed to build WebKit using 'make'! |
no one to help me ...
|
May be you are using the old version ? ( Year 2010-2011 version)
→ https://github.com/rkudiyarov/ClutterWebkit → $ git clone https://github.com/rkudiyarov/ClutterWebkit.git The latest http://cgit.collabora.com/git/webkit-clutter.git/ .. is also problematic : Requires qt-5.x and glib version >= 2.36.0 . → $ git clone git://git.collabora.co.uk/git/webkit-clutter.git - |
before ly tried the latest version but of webkit-clutter from collabora. got same errors.
|
All times are GMT -5. The time now is 11:29 AM. |