[webkit-dev] help with webkit installation for kde-4.4.2 (amd64 linux)

sibu xolo sibxol at btconnect.com
Sat Apr 10 07:37:06 PDT 2010


Greetings,

I am having a go at compiling kde4.4.2.  I am now  trying to build webkit for 
KDE4.4.2 (pure-64bit -non-multilib -amd64 linux  setup).  (it is needed by 
google-gadgets)  I downloaded qtwebkit from 
http://gitorious.org/+qtwebkit-developers/webkit/qtwebkit

and it compiles OK with the following instruction:-
WebKit/WebKitTools/Scripts/build-webkit --qt   --qmake=$QTDIR/bin/qmake

but I have no idea   from where or how  to do a "make install"  and where   it 
should be installed ($KDEDIR or $QT4DIR)

--------------------------
running help from the ~webkitTools/scripts directory yields:-

 ./build-webkit  --helpUsage: build-webkit [options] [options to pass to build 
system]                                                            
  --help                            Show this help message                                                                 
  --clean                           Cleanup the build directory                                                            
  --debug                           Compile in debug mode
  --cairo-win32                     Build using Cairo (rather than 
CoreGraphics) on Windows
  --chromium                        Build the Chromium port on Mac/Win/Linux
  --gtk                             Build the GTK+ port
  --qt                              Build the Qt port

  --makeargs=<arguments>            Optional Makefile flags

  --minimal                         No optional features, unless explicitly 
enabled.

  --[no-]3d-canvas                  Toggle 3D canvas support (default: 0)
  --[no-]3d-rendering               Toggle 3D rendering support (default: 0)
  --[no-]channel-messaging          Toggle MessageChannel and MessagePort 
support (default: 1)
  --[no-]coverage                   Toggle code coverage support (default: 0)
  --[no-]database                   Toggle Database Support (default: 1)
  --[no-]datagrid                   Toggle Datagrid Support (default: 0)
  --[no-]dom-storage                Toggle DOM Storage Support (default: 1)
  --[no-]eventsource                Toggle server-sent events support 
(default: 1)
  --[no-]filters                    Toggle Filters support (default: 0)
  --[no-]geolocation                Toggle Geolocation support (default: 0)
  --[no-]icon-database              Toggle Icon database support (default: 1)
  --[no-]javascript-debugger        Toggle JavaScript Debugger/Profiler 
support (default: 1)
  --[no-]mathml                     Toggle MathML support (default: 0)
  --[no-]notifications              Toggle Desktop Notifications Support 
(default: 0)
  --[no-]offline-web-applications   Toggle Offline Web Application Support 
(default: 1)
  --[no-]ruby                       Toggle HTML5 Ruby support (default: 1)
  --[no-]shared-workers             Toggle SharedWorkers support (default: 1)
  --[no-]svg                        Toggle SVG support (default: 1)
  --[no-]svg-animation              Toggle SVG animation support (implies SVG 
support) (default: 1)
  --[no-]svg-as-image               Toggle SVG as Image support (implies SVG 
support) (default: 1)
  --[no-]svg-dom-objc-bindings      Toggle SVG DOM Objective-C bindings 
support (implies SVG support) (default: 0)
  --[no-]svg-fonts                  Toggle SVG fonts support (imples SVG 
support) (default: 1)
  --[no-]svg-foreign-object         Toggle SVG foreign object support (implies 
SVG support) (default: 1)
  --[no-]svg-use                    Toggle SVG use element support (implies 
SVG support) (default: 1)
  --[no-]video                      Toggle Video support (default: 1)
  --[no-]web-sockets                Toggle Web Sockets support (default: 1)
  --[no-]wml                        Toggle WML support (default: 0)
  --[no-]xhtmlmp                    Toggle XHTML-MP support (default: 0)
  --[no-]wcss                       Toggle WCSS support (default: 0)
  --[no-]workers                    Toggle Web Workers support (default: 1)
  --[no-]xpath                      Toggle XPath support (default: 1)
  --[no-]xslt                       Toggle XSLT support (default: 1)


but I have no idea if --makeargs=<arguments>  sets installation directory or 
otherwise.

-------------------------------

before build the  source  directory is ~180Mbytes
after build it is ~600 Mbytes


the build ends with :- 

make[1]: Entering directory 
`$SOURCES/build/webkit-qtwebkit/WebKitBuild/Release/WebKitTools/DumpRenderTree/qt/TestNetscapePlugin'
g++ -c -m64 -pipe -Wreturn-type -fno-strict-aliasing -O2 -D_REENTRANT -fPIC -DBUILDING_QT__=1 -DNDEBUG -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/opt/qt-4.6.2/mkspecs/linux-g++-64 -I$SOURCES/build/webkit-qtwebkit/WebKitTools/DumpRenderTree/qt/TestNetscapePlugin -I/opt/qt-4.6.2/include/QtCore -I/opt/qt-4.6.2/include/QtGui -I/opt/qt-4.6.2/include -I$SOURCES/build/webkit-qtwebkit/WebKit/qt/Api -I$SOURCES/build/webkit-qtwebkit/JavaScriptCore -I$SOURCES/build/webkit-qtwebkit/WebKitTools/DumpRenderTree/gtk/TestNetscapePlugin/ForwardingHeaders -I$SOURCES/build/webkit-qtwebkit/WebKitTools/DumpRenderTree/gtk/TestNetscapePlugin/ForwardingHeaders/WebKit -I$SOURCES/build/webkit-qtwebkit/WebCore -I$SOURCES/build/webkit-qtwebkit/WebCore/bridge -I$SOURCES/build/webkit-qtwebkit/WebKitTools/DumpRenderTree/TestNetscapePlugIn.subproj -I. -I$SOURCES/build/webkit-qtwebkit/WebKitTools/DumpRenderTree/qt/TestNetscapePlugin -I. -o 
PluginObject.o 
$SOURCES/build/webkit-qtwebkit/WebKitTools/DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp
g++ -c -m64 -pipe -Wreturn-type -fno-strict-aliasing -O2 -D_REENTRANT -fPIC -DBUILDING_QT__=1 -DNDEBUG -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/opt/qt-4.6.2/mkspecs/linux-g++-64 -I$SOURCES/build/webkit-qtwebkit/WebKitTools/DumpRenderTree/qt/TestNetscapePlugin -I/opt/qt-4.6.2/include/QtCore -I/opt/qt-4.6.2/include/QtGui -I/opt/qt-4.6.2/include -I$SOURCES/build/webkit-qtwebkit/WebKit/qt/Api -I$SOURCES/build/webkit-qtwebkit/JavaScriptCore -I$SOURCES/build/webkit-qtwebkit/WebKitTools/DumpRenderTree/gtk/TestNetscapePlugin/ForwardingHeaders -I$SOURCES/build/webkit-qtwebkit/WebKitTools/DumpRenderTree/gtk/TestNetscapePlugin/ForwardingHeaders/WebKit -I$SOURCES/build/webkit-qtwebkit/WebCore -I$SOURCES/build/webkit-qtwebkit/WebCore/bridge -I$SOURCES/build/webkit-qtwebkit/WebKitTools/DumpRenderTree/TestNetscapePlugIn.subproj -I. -I$SOURCES/build/webkit-qtwebkit/WebKitTools/DumpRenderTree/qt/TestNetscapePlugin -I. -o 
TestObject.o 
$SOURCES/build/webkit-qtwebkit/WebKitTools/DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp
g++ -c -m64 -pipe -Wreturn-type -fno-strict-aliasing -O2 -D_REENTRANT -fPIC -DBUILDING_QT__=1 -DNDEBUG -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/opt/qt-4.6.2/mkspecs/linux-g++-64 -I$SOURCES/build/webkit-qtwebkit/WebKitTools/DumpRenderTree/qt/TestNetscapePlugin -I/opt/qt-4.6.2/include/QtCore -I/opt/qt-4.6.2/include/QtGui -I/opt/qt-4.6.2/include -I$SOURCES/build/webkit-qtwebkit/WebKit/qt/Api -I$SOURCES/build/webkit-qtwebkit/JavaScriptCore -I$SOURCES/build/webkit-qtwebkit/WebKitTools/DumpRenderTree/gtk/TestNetscapePlugin/ForwardingHeaders -I$SOURCES/build/webkit-qtwebkit/WebKitTools/DumpRenderTree/gtk/TestNetscapePlugin/ForwardingHeaders/WebKit -I$SOURCES/build/webkit-qtwebkit/WebCore -I$SOURCES/build/webkit-qtwebkit/WebCore/bridge -I$SOURCES/build/webkit-qtwebkit/WebKitTools/DumpRenderTree/TestNetscapePlugIn.subproj -I. -I$SOURCES/build/webkit-qtwebkit/WebKitTools/DumpRenderTree/qt/TestNetscapePlugin -I. -o 
TestNetscapePlugin.o 
$SOURCES/build/webkit-qtwebkit/WebKitTools/DumpRenderTree/gtk/TestNetscapePlugin/TestNetscapePlugin.cpp
rm -f libTestNetscapePlugIn.so.1.0.0 libTestNetscapePlugIn.so 
libTestNetscapePlugIn.so.1 libTestNetscapePlugIn.so.1.0
g++ -m64 -Wl,-O1 -Wl,-rpath,/opt/qt-4.6.2/lib -shared -Wl,-soname,libTestNetscapePlugIn.so.1 -o 
libTestNetscapePlugIn.so.1.0.0 PluginObject.o TestObject.o 
TestNetscapePlugin.o   -L$SOURCES/build/webkit-qtwebkit/WebKitBuild/Release/lib -L/opt/qt-4.6.2/lib -lQtWebKit -lQtGui -L/usr/X11R7.5/lib -L/opt/qt-4.6.2/lib -L/usr/X11R6/lib64 -lQtCore -lpthread  
ln -s libTestNetscapePlugIn.so.1.0.0 libTestNetscapePlugIn.so
ln -s libTestNetscapePlugIn.so.1.0.0 libTestNetscapePlugIn.so.1
ln -s libTestNetscapePlugIn.so.1.0.0 libTestNetscapePlugIn.so.1.0
rm -f ../../../../lib/plugins/libTestNetscapePlugIn.so.1.0.0
rm -f ../../../../lib/plugins/libTestNetscapePlugIn.so
rm -f ../../../../lib/plugins/libTestNetscapePlugIn.so.1
rm -f ../../../../lib/plugins/libTestNetscapePlugIn.so.1.0
mv -f libTestNetscapePlugIn.so.1.0.0 libTestNetscapePlugIn.so 
libTestNetscapePlugIn.so.1 
libTestNetscapePlugIn.so.1.0 ../../../../lib/plugins/
make[1]: Leaving directory 
`$SOURCES/build/webkit-qtwebkit/WebKitBuild/Release/WebKitTools/DumpRenderTree/qt/TestNetscapePlugin'

===========================================================
 WebKit is now built (42m:47s). 
 To run QtLauncher with this newly-built code, use the
 "webkit-qtwebkit/WebKitTools/Scripts/run-launcher" script.
===========================================================


suggestions how to install this monster would be appreciated

sx


More information about the webkit-dev mailing list