LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-12-2013, 11:57 PM   #1
ssanthshtech
Member
 
Registered: Jan 2013
Location: bangalore,india
Distribution: Ubuntu 12.4
Posts: 35

Rep: Reputation: Disabled
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’!
 
Old 06-13-2013, 12:28 AM   #2
Ygrex
Member
 
Registered: Nov 2004
Location: Russia (St.Petersburg)
Distribution: Debian
Posts: 666

Rep: Reputation: 68
this is the fatal error:
Code:
../../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
install necessary dev-packages for your OS (mingw?)
 
Old 06-13-2013, 01:02 AM   #3
ssanthshtech
Member
 
Registered: Jan 2013
Location: bangalore,india
Distribution: Ubuntu 12.4
Posts: 35

Original Poster
Rep: Reputation: Disabled
already installed

dependencies already installed like above error header file is in sudo apt-get install libx11-dev.
 
Old 06-13-2013, 01:06 AM   #4
ssanthshtech
Member
 
Registered: Jan 2013
Location: bangalore,india
Distribution: Ubuntu 12.4
Posts: 35

Original Poster
Rep: Reputation: Disabled
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:perator==(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:perator==(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:perator==(int)
../../WebCore/bindings/gobject/GObjectEventListener.cpp: In member function ‘bool WebCore::GObjectEventListener:perator==(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'!
 
Old 06-25-2013, 03:14 AM   #5
ssanthshtech
Member
 
Registered: Jan 2013
Location: bangalore,india
Distribution: Ubuntu 12.4
Posts: 35

Original Poster
Rep: Reputation: Disabled
no one to help me ...
 
Old 06-27-2013, 09:06 AM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
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


-

Last edited by knudfl; 06-28-2013 at 01:04 AM.
 
Old 06-28-2013, 01:00 AM   #7
ssanthshtech
Member
 
Registered: Jan 2013
Location: bangalore,india
Distribution: Ubuntu 12.4
Posts: 35

Original Poster
Rep: Reputation: Disabled
before ly tried the latest version but of webkit-clutter from collabora. got same errors.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cogl-1.10.4 make check failed and compile Clutter-1.10.8 failed kcynice Linux From Scratch 0 08-09-2012 01:27 AM
Clutter configuration error pannet1 Linux From Scratch 1 04-27-2012 02:07 AM
[SOLVED] Not sure what this error means (from webkit slackbuild) Cultist Slackware 1 12-24-2010 12:04 AM
webkit compile error on libsoup borsaman Linux - Software 1 08-17-2009 09:27 AM


All times are GMT -5. The time now is 10:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration