On Monday 29 March 2010 ext Fathi Boudra, wrote: > Hi, > > I tried to build week 12 source tarball and it failed to build from > scratch: > > g++ -c -pipe -Wall -Wreturn-type -fno-strict-aliasing -Wcast-align > -Wchar-subscripts -Wformat-security -Wreturn-type > -Wno-unused-parameter -Wno-sign-compare -Wno-switch -Wno-switch-enum > -Wundef -Wmissing-noreturn -Winit-self -ffunction-sections > -fdata-sections -g -O2 -D_REENTRANT -fPIC -DBUILDING_QT__=1 -DNDEBUG > -DQT_MAKEDLL -DHAVE_STDINT_H -DBUILD_WEBKIT -DBUILDING_QT__ > -DBUILDING_JavaScriptCore -DBUILDING_WTF -DENABLE_VIDEO=1 > -DENABLE_JAVASCRIPT_DEBUGGER=1 -DENABLE_DATABASE=1 > -DENABLE_EVENTSOURCE=1 -DENABLE_OFFLINE_WEB_APPLICATIONS=1 > -DENABLE_DOM_STORAGE=1 -DENABLE_ICONDATABASE=1 > -DENABLE_CHANNEL_MESSAGING=1 -DENABLE_ORIENTATION_EVENTS=0 > -DENABLE_SQLITE=1 -DENABLE_DASHBOARD_SUPPORT=0 -DENABLE_FILTERS=1 > -DENABLE_XPATH=1 -DENABLE_WCSS=0 -DENABLE_WML=0 > -DENABLE_SHARED_WORKERS=1 -DENABLE_WORKERS=1 -DENABLE_XHTMLMP=0 > -DENABLE_DATAGRID=0 -DENABLE_RUBY=1 -DENABLE_SANDBOX=1 > -DENABLE_PROGRESS_TAG=1 -DENABLE_BLOB_SLICE=0 -DENABLE_SVG=1 > -DENABLE_SVG_FONTS=1 -DENABLE_SVG_FOREIGN_OBJECT=1 > -DENABLE_SVG_ANIMATION=1 -DENABLE_SVG_AS_IMAGE=1 -DENABLE_SVG_USE=1 > -DENABLE_DATALIST=1 -DENABLE_NETSCAPE_PLUGIN_API=1 > -DENABLE_WEB_SOCKETS=1 -DENABLE_XSLT=1 -DWTF_CHANGES=1 -DXP_UNIX > -DQT_NO_DEBUG -DQT_XMLPATTERNS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB > -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. > -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork > -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXmlPatterns > -I/usr/include/qt4 -Ibridge/qt -Ipage/qt -Iplatform/graphics/qt > -Iplatform/network/qt -Iplatform/qt -I../WebKit/qt/Api > -I../WebKit/qt/WebCoreSupport -I. -Iaccessibility -Ibindings/js > -Ibridge -Ibridge/c -Ibridge/jsc -Icss -Idom -Idom/default -Iediting > -Ihistory -Ihtml -Ihtml/canvas -Iinspector -Iloader -Iloader/appcache > -Iloader/archive -Iloader/icon -Inotifications -Ipage -Ipage/animation > -Iplatform -Iplatform/animation -Iplatform/graphics > -Iplatform/graphics/filters -Iplatform/graphics/transforms > -Iplatform/image-decoders -Iplatform/mock -Iplatform/network > -Iplatform/sql -Iplatform/text -Iplugins -Irendering -Irendering/style > -Istorage -Isvg -Isvg/animation -Isvg/graphics -Isvg/graphics/filters > -Iwebsockets -Iwml -Iworkers -Ixml -Igenerated -I../JavaScriptCore > -I../../qtwebkit-2.0~week12 -I../JavaScriptCore/assembler > -I../JavaScriptCore/bytecode -I../JavaScriptCore/bytecompiler > -I../JavaScriptCore/debugger -I../JavaScriptCore/interpreter > -I../JavaScriptCore/jit -I../JavaScriptCore/parser > -I../JavaScriptCore/pcre -I../JavaScriptCore/profiler > -I../JavaScriptCore/runtime -I../JavaScriptCore/wtf > -I../JavaScriptCore/wtf/symbian -I../JavaScriptCore/wtf/unicode > -I../JavaScriptCore/yarr -I../JavaScriptCore/API > -I../JavaScriptCore/ForwardingHeaders -I../JavaScriptCore/generated > -I../include/QtWebKit -I/usr/src/3rdparty/sqlite/ > -I/usr/include/qt4/phonon -I/usr/X11R6/include -I. -o JSDocument.o > generated/JSDocument.cpp > generated/JSDocument.cpp: In function 'JSC::JSValue > WebCore::jsDocumentOntouchstart(JSC::ExecState*, JSC::JSValue, const > JSC::Identifier&)': > generated/JSDocument.cpp:1131: error: 'class WebCore::Document' has no > member named 'ontouchstart' > generated/JSDocument.cpp: In function 'JSC::JSValue > WebCore::jsDocumentOntouchmove(JSC::ExecState*, JSC::JSValue, const > JSC::Identifier&)': > generated/JSDocument.cpp:1145: error: 'class WebCore::Document' has no > member named 'ontouchmove' > generated/JSDocument.cpp: In function 'JSC::JSValue > WebCore::jsDocumentOntouchend(JSC::ExecState*, JSC::JSValue, const > JSC::Identifier&)': > generated/JSDocument.cpp:1159: error: 'class WebCore::Document' has no > member named 'ontouchend' > generated/JSDocument.cpp: In function 'JSC::JSValue > WebCore::jsDocumentOntouchcancel(JSC::ExecState*, JSC::JSValue, const > JSC::Identifier&)': > generated/JSDocument.cpp:1173: error: 'class WebCore::Document' has no > member named 'ontouchcancel' > generated/JSDocument.cpp: In function 'void > WebCore::setJSDocumentOntouchstart(JSC::ExecState*, JSC::JSObject*, > JSC::JSValue)': > generated/JSDocument.cpp:1547: error: 'class WebCore::Document' has no > member named 'setOntouchstart' > generated/JSDocument.cpp: In function 'void > WebCore::setJSDocumentOntouchmove(JSC::ExecState*, JSC::JSObject*, > JSC::JSValue)': > generated/JSDocument.cpp:1554: error: 'class WebCore::Document' has no > member named 'setOntouchmove' > generated/JSDocument.cpp: In function 'void > WebCore::setJSDocumentOntouchend(JSC::ExecState*, JSC::JSObject*, > JSC::JSValue)': > generated/JSDocument.cpp:1561: error: 'class WebCore::Document' has no > member named 'setOntouchend' > generated/JSDocument.cpp: In function 'void > WebCore::setJSDocumentOntouchcancel(JSC::ExecState*, JSC::JSObject*, > JSC::JSValue)': > generated/JSDocument.cpp:1568: error: 'class WebCore::Document' has no > member named 'setOntouchcancel' > make[2]: *** [JSDocument.o] Error 1 > make[2]: Leaving directory `/tmp/buildd/qtwebkit-2.0~week12/WebCore' > make[1]: *** [sub-WebCore-make_default-ordered] Error 2 > make[1]: Leaving directory `/tmp/buildd/qtwebkit-2.0~week12'
This happens when building against Qt 4.5. It's a bug in the idl files. I've
filed
https://bugs.webkit.org/show_bug.cgi?id=36750
for it. Will fix soon :)
> Note: The source tarball doesn't provide build-webkit script.
Right, the tarballs are meant to be buildable without any extra tools such as
flex, perl or bison.
A simple
qmake
make
should be sufficient.
Simon
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ webkit-qt mailing list [email protected] http://lists.webkit.org/mailman/listinfo.cgi/webkit-qt
