LinuxQuestions.org
Visit Jeremy's Blog.
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-05-2013, 04:46 AM   #1
adityaharish
LQ Newbie
 
Registered: Jun 2013
Posts: 10

Rep: Reputation: Disabled
Installing WebKit


I'm trying to build WebKit in Ubuntu (12.04 )
I can 'configure' it successfully but when I try to 'make' it ,it's showing some error .

Code:
ketan@ketan-HP-dx2480-MT-KL969AV:~/Downloads/WebKit-r145184$ make
GEN DerivedSources/webkit/webkitenumtypes.cpp
GEN stamp-webkitenumtypes.h
GEN DerivedSources/WebCore/JSSVGExternalResourcesRequired.h
GEN DerivedSources/WebCore/JSSVGFilterPrimitiveStandardAttributes.h
GEN DerivedSources/WebCore/JSSVGFitToViewBox.h
GEN DerivedSources/WebCore/JSSVGLangSpace.h
GEN DerivedSources/WebCore/JSSVGLocatable.h
GEN DerivedSources/WebCore/JSSVGTests.h
GEN DerivedSources/WebCore/JSSVGTransformable.h
GEN DerivedSources/WebCore/JSSVGURIReference.h
GEN generate-webkit2-forwarding-headers
GEN generate-webkit2-forwarding-headers
GEN generate-webkittestrunner-forwarding-headers
GEN generate-webkittestrunner-forwarding-headers
GEN generate-testwebkitapi-forwarding-headers
GEN generate-testwebkitapi-forwarding-headers
GEN DerivedSources/JavaScriptCore/LLIntAssembly.h
offlineasm: Parsing ./Source/JavaScriptCore/llint/LowLevelInterpreter.asm and Programs/LLIntOffsetsExtractor and creating assembly file DerivedSources/JavaScriptCore/LLIntAssembly.h.
offlineasm: No magic values found. Skipping assembly file generation.
make all-am
make[1]: Entering directory `/home/ketan/Downloads/WebKit-r145184'
CXX Source/WebKit/gtk/WebCoreSupport/libwebkitgtk_3_0_la-InspectorClientGtk.lo
CXX Source/WebKit/gtk/webkit/libwebkitgtk_3_0_la-webkitversion.lo
CXX Source/WebKit/gtk/webkit/libwebkitgtk_3_0_la-webkitwebsettings.lo
CXX DerivedSources/webkit/libwebkitgtk_3_0_la-webkitenumtypes.lo
CXX Source/WebCore/bindings/js/libWebCore_la-JSCSSValueCustom.lo
CXX Source/WebCore/bindings/js/libWebCore_la-JSDOMBinding.lo
CXX Source/WebCore/bindings/js/libWebCore_la-JSEventCustom.lo
CXX Source/WebCore/bindings/js/libWebCore_la-JSEventTargetCustom.lo
CXX Source/WebCore/bindings/js/libWebCore_la-JSExceptionBase.lo
CXX DerivedSources/WebCore/libWebCore_la-EventFactory.lo
CXX DerivedSources/WebCore/libWebCore_la-JSDOMWindow.lo
CXX DerivedSources/WebCore/libWebCore_la-JSSVGDocument.lo
CXXLD libWebCore.la
CXX Source/WebCore/bindings/js/libWebCoreSVG_la-JSSVGElementInstanceCustom.lo
CXX Source/WebCore/bindings/js/libWebCoreSVG_la-JSSVGLengthCustom.lo
CXX Source/WebCore/bindings/js/libWebCoreSVG_la-JSSVGPathSegCustom.lo
CXX DerivedSources/WebCore/libWebCoreSVG_la-JSSVGAElement.lo
CXX DerivedSources/WebCore/libWebCoreSVG_la-JSSVGAltGlyphDefElement.lo
CXX DerivedSources/WebCore/libWebCoreSVG_la-JSSVGAltGlyphElement.lo
CXX DerivedSources/WebCore/libWebCoreSVG_la-JSSVGAltGlyphItemElement.lo
CXX DerivedSources/WebCore/libWebCoreSVG_la-JSSVGAnimateColorElement.lo
CXX DerivedSources/WebCore/libWebCoreSVG_la-JSSVGAnimatedLength.lo
CXX DerivedSources/WebCore/libWebCoreSVG_la-JSSVGAnimatedLengthList.lo
CXX DerivedSources/WebCore/libWebCoreSVG_la-JSSVGAnimatedNumberList.lo
CXX DerivedSources/WebCore/libWebCoreSVG_la-JSSVGAnimatedPreserveAspectRatio.lo
CXX DerivedSources/WebCore/libWebCoreSVG_la-JSSVGAnimatedRect.lo
CXX DerivedSources/WebCore/libWebCoreSVG_la-JSSVGAnimatedTransformList.lo
CXX DerivedSources/WebCore/libWebCoreSVG_la-JSSVGAnimateElement.lo
CXX DerivedSources/WebCore/libWebCoreSVG_la-JSSVGAnimateMotionElement.lo
CXX DerivedSources/WebCore/libWebCoreSVG_la-JSSVGAnimateTransformElement.lo
CXX DerivedSources/WebCore/libWebCoreSVG_la-JSSVGAnimationElement.lo
CXX DerivedSources/WebCore/libWebCoreSVG_la-JSSVGCircleElement.lo
CXX DerivedSources/WebCore/libWebCoreSVG_la-JSSVGClipPathElement.lo
CXX DerivedSources/WebCore/libWebCoreSVG_la-JSSVGComponentTransferFunctionElement.lo
CXX DerivedSources/WebCore/libWebCoreSVG_la-JSSVGCursorElement.lo
CXX DerivedSources/WebCore/libWebCoreSVG_la-JSSVGDefsElement.lo
CXX DerivedSources/WebCore/libWebCoreSVG_la-JSSVGDescElement.lo
CXX DerivedSources/WebCore/libWebCoreSVG_la-JSSVGElement.lo
CXX DerivedSources/WebCore/libWebCoreSVG_la-JSSVGElementInstance.lo
CXX DerivedSources/WebCore/libWebCoreSVG_la-JSSVGElementWrapperFactory.lo
CXX DerivedSources/WebCore/libWebCoreSVG_la-JSSVGEllipseElement.lo
CXX DerivedSources/WebCore/libWebCoreSVG_la-JSSVGFEBlendElement.lo
CXX DerivedSources/WebCore/libWebCoreSVG_la-JSSVGFEColorMatrixElement.lo
CXX DerivedSources/WebCore/libWebCoreSVG_la-JSSVGFEComponentTransferElement.lo
CXX DerivedSources/WebCore/libWebCoreSVG_la-JSSVGFECompositeElement.lo
CXX DerivedSources/WebCore/libWebCoreSVG_la-JSSVGFEConvolveMatrixElement.lo
CXX DerivedSources/WebCore/libWebCoreSVG_la-JSSVGFEDiffuseLightingElement.lo
CXX DerivedSources/WebCore/libWebCoreSVG_la-JSSVGFEDisplacementMapElement.lo
CXX DerivedSources/WebCore/libWebCoreSVG_la-JSSVGFEDropShadowElement.lo
CXX DerivedSources/WebCore/libWebCoreSVG_la-JSSVGFEFloodElement.lo
CXX DerivedSources/WebCore/libWebCoreSVG_la-JSSVGFEGaussianBlurElement.lo
CXX DerivedSources/WebCore/libWebCoreSVG_la-JSSVGFEImageElement.lo
CXX DerivedSources/WebCore/libWebCoreSVG_la-JSSVGFEMergeElement.lo
CXX DerivedSources/WebCore/libWebCoreSVG_la-JSSVGFEMorphologyElement.lo
CXX DerivedSources/WebCore/libWebCoreSVG_la-JSSVGFEOffsetElement.lo
CXX DerivedSources/WebCore/libWebCoreSVG_la-JSSVGFESpecularLightingElement.lo
CXX DerivedSources/WebCore/libWebCoreSVG_la-JSSVGFETileElement.lo
CXX DerivedSources/WebCore/libWebCoreSVG_la-JSSVGFETurbulenceElement.lo
CXX DerivedSources/WebCore/libWebCoreSVG_la-JSSVGFilterElement.lo
CXX DerivedSources/WebCore/libWebCoreSVG_la-JSSVGForeignObjectElement.lo
CXX DerivedSources/WebCore/libWebCoreSVG_la-JSSVGGElement.lo
CXX DerivedSources/WebCore/libWebCoreSVG_la-JSSVGGlyphRefElement.lo
CXX DerivedSources/WebCore/libWebCoreSVG_la-JSSVGGradientElement.lo
CXX DerivedSources/WebCore/libWebCoreSVG_la-JSSVGImageElement.lo
CXX DerivedSources/WebCore/libWebCoreSVG_la-JSSVGLinearGradientElement.lo
CXX DerivedSources/WebCore/libWebCoreSVG_la-JSSVGLineElement.lo
CXX DerivedSources/WebCore/libWebCoreSVG_la-JSSVGMarkerElement.lo
CXX DerivedSources/WebCore/libWebCoreSVG_la-JSSVGMaskElement.lo
CXX DerivedSources/WebCore/libWebCoreSVG_la-JSSVGMissingGlyphElement.lo
CXX DerivedSources/WebCore/libWebCoreSVG_la-JSSVGPathElement.lo
CXX DerivedSources/WebCore/libWebCoreSVG_la-JSSVGPathSegArcAbs.lo
CXX DerivedSources/WebCore/libWebCoreSVG_la-JSSVGPathSegArcRel.lo
CXX DerivedSources/WebCore/libWebCoreSVG_la-JSSVGPathSegClosePath.lo
CXX DerivedSources/WebCore/libWebCoreSVG_la-JSSVGPatternElement.lo
CXX DerivedSources/WebCore/libWebCoreSVG_la-JSSVGPolygonElement.lo
CXX DerivedSources/WebCore/libWebCoreSVG_la-JSSVGPolylineElement.lo
CXX DerivedSources/WebCore/libWebCoreSVG_la-JSSVGRadialGradientElement.lo
CXX DerivedSources/WebCore/libWebCoreSVG_la-JSSVGRectElement.lo
CXX DerivedSources/WebCore/libWebCoreSVG_la-JSSVGStopElement.lo
CXX DerivedSources/WebCore/libWebCoreSVG_la-JSSVGSVGElement.lo
CXX DerivedSources/WebCore/libWebCoreSVG_la-JSSVGTextElement.lo
CXXLD libWebCoreSVG.la
CXXLD libwebkitgtk-3.0.la
CXX Source/WebKit2/UIProcess/API/gtk/libwebkit2gtk_3_0_la-WebKitVersion.lo
CXXLD libwebkit2gtk-3.0.la
CXX Source/WebCore/testing/js/libWebCoreInternals_la-WebCoreTestSupport.lo
CXX DerivedSources/WebCore/libWebCoreInternals_la-JSInternals.lo
CXX DerivedSources/WebCore/libWebCoreInternals_la-JSInternalSettings.lo
CXXLD libWebCoreInternals.la
CXX Source/WebKit2/UIProcess/API/gtk/tests/Libraries_libWebKit2APITestCore_la-LoadTrackingTest.lo
CXX Source/WebKit2/UIProcess/API/gtk/tests/Libraries_libWebKit2APITestCore_la-WebKitTestServer.lo
CXX Source/WebKit2/UIProcess/API/gtk/tests/Libraries_libWebKit2APITestCore_la-WebViewTest.lo
CXXLD Libraries/libWebKit2APITestCore.la
CXXLD Libraries/libTestRunnerInjectedBundle.la
CXXLD Programs/WebKitPluginProcess
/bin/mkdir -p ./.deps/DerivedSources
CXXLD Programs/WebKitWebProcess
./.libs/libwebkit2gtk-3.0.so: undefined reference to `gdk_screen_get_monitor_workarea'
./.libs/libwebkit2gtk-3.0.so: undefined reference to `gdk_event_get_scroll_deltas'
collect2: error: ld returned 1 exit status
make[1]: *** [Programs/WebKitWebProcess] Error 1
make[1]: Leaving directory `/home/ketan/Downloads/WebKit-r145184'
make: *** [all] Error 2


Can anyone please help me in solving this error ??
 
Old 06-05-2013, 06:11 AM   #2
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
Installing Webkit, Ubuntu 12.04 :

$ sudo apt-get install libwebkitgtk-dev


Building a later version : WebKit-r145184 may not be a stable / usable version.
Please try another one : http://nightly.webkit.org/builds/trunk/src/1

-
 
Old 06-05-2013, 06:20 AM   #3
adityaharish
LQ Newbie
 
Registered: Jun 2013
Posts: 10

Original Poster
Rep: Reputation: Disabled
$ sudo apt-get install libwebkitgtk-dev

I have already used that command .

Ohk then which version do you recommend.
Don't you think that there is something wrong with GTK+ Version??
Do I have to make any modifications to the path variables other than these .??

export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH
export PKG_CONFIG_PATH=/usr/lib/pkgconfig:$PKG_CONFIG_PATH
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/usr/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/usr/include:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/usr/bin:$LD_LIBRARY_PATH
export LIBRARY_PATH=/usr/lib/i386-linux-gnu/


I'm using a 32 bit Linux system.
 
Old 06-05-2013, 06:49 AM   #4
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
*

Please explain why you want a later version.
 
Old 06-05-2013, 08:02 AM   #5
adityaharish
LQ Newbie
 
Registered: Jun 2013
Posts: 10

Original Poster
Rep: Reputation: Disabled
I'm given a project to develop webbrowser which uses WebKit.

I don't need a higher version of WebKit.

I just need a stable version of WebKit which helps me in developing the browser.
 
Old 06-05-2013, 08:28 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
# 5 .
Quote:
I just need a stable version of WebKit which helps me in developing the browser
I'd guess that 'libwebkitgtk-dev' will do the job.

If you want additional webkit packages :
Suggest : Install 'synaptic' : $ sudo apt-get install synaptic
.. to get a convenient overview of the webkit packages.
Or use : $ apt-cache search webkit

-
 
Old 06-05-2013, 08:32 AM   #7
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
# 3 .
Quote:
Do I have to make any modifications to the path variables other than these .??

export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH
export PKG_CONFIG_PATH=/usr/lib/pkgconfig:$PKG_CONFIG_PATH
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/usr/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/usr/include:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/usr/bin:$LD_LIBRARY_PATH
export LIBRARY_PATH=/usr/lib/i386-linux-gnu/
None of the above is required, I think.
Only if you install some alien dependencies in /usr/local/.
Which should be avoided : Please use the available default Ubuntu packages.

And :
export LD_LIBRARY_PATH=/usr/include:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/usr/bin:$LD_LIBRARY_PATH
→ → /usr/bin/ is not an LD_LIBRARY_PATH, is a default PATH.
Also : There are no libraries in /usr/include/. Don't set anything.

-

Last edited by knudfl; 06-05-2013 at 08:37 AM.
 
Old 06-07-2013, 06:12 AM   #8
adityaharish
LQ Newbie
 
Registered: Jun 2013
Posts: 10

Original Poster
Rep: Reputation: Disabled
Still then I'm not able to build a WebKit.

ketan@ketan-HP-dx2480-MT-KL969AV:~/Downloads/WebKit-r145184$ make
GEN generate-webkit2-forwarding-headers
GEN generate-webkit2-forwarding-headers
GEN generate-webkittestrunner-forwarding-headers
GEN generate-webkittestrunner-forwarding-headers
GEN generate-testwebkitapi-forwarding-headers
GEN generate-testwebkitapi-forwarding-headers
GEN DerivedSources/JavaScriptCore/LLIntAssembly.h
offlineasm: Parsing ./Source/JavaScriptCore/llint/LowLevelInterpreter.asm and Programs/LLIntOffsetsExtractor and creating assembly file DerivedSources/JavaScriptCore/LLIntAssembly.h.
offlineasm: No magic values found. Skipping assembly file generation.
make all-am
make[1]: Entering directory `/home/ketan/Downloads/WebKit-r145184'
/bin/mkdir -p ./.deps/DerivedSources
CXXLD Programs/WebKitWebProcess
./.libs/libwebkit2gtk-3.0.so: undefined reference to `gdk_screen_get_monitor_workarea'
./.libs/libwebkit2gtk-3.0.so: undefined reference to `gdk_event_get_scroll_deltas'
collect2: error: ld returned 1 exit status
make[1]: *** [Programs/WebKitWebProcess] Error 1
make[1]: Leaving directory `/home/ketan/Downloads/WebKit-r145184'
make: *** [all] Error 2



I think there is some error in path to gtk+-3.0.
How to check the programs using WebKit ??
 
  


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
installing Gtk2-WebKit-0.09 Yann Linux - Newbie 2 03-25-2012 07:19 AM
[SOLVED] Flash and webkit gorillus Slackware 7 07-29-2011 10:45 AM
Is Webkit really needed? CollieJim Gentoo 2 04-19-2010 06:40 AM
LQ and Webkit. Hitboxx LQ Suggestions & Feedback 11 06-27-2009 11:54 AM
WebKit for Linux? LinuxNoob75 Linux - Software 7 02-13-2008 01:22 PM


All times are GMT -5. The time now is 03:10 PM.

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