>From the error info, maybe you should update your gcc to 4.7+ which supports C++11?
发件人: [email protected] [mailto:[email protected]] 代表 Frank 发送时间: 2013年10月18日 9:33 收件人: [email protected] 主题: [webkit-qt] Unable to determine current SVN revision in /home/frank/webkit at /home/frank/webkit/Tools/Scripts/VCSUtils.pm when build webkit Hi all: How can I compile qtwebkit project in Ubuntu. I just follow http://trac.webkit.org/wiki/QtWebKitGardening this guide, but it is failed when I run build-webkit �Cqt. It is said: Unable to determine current SVN revision in /home/frank/webkit at /home/frank/webkit/Tools/Scripts/VCSUtils.pm line 418. Calling 'qmake /home/frank/webkit/WebKit.pro CONFIG-=production_build' in /home/frank/webkit/WebKitBuild/Release /home/frank/webkit/WebKit.pro:21: 'use?' is not a recognized test function. /home/frank/webkit/WebKit.pro:31: 'build?' is not a recognized test function. /home/frank/webkit/WebKit.pro:37: 'build?' is not a recognized test function. Calling 'make -j1' in /home/frank/webkit/WebKitBuild/Release cd Source/WTF/ && ( test -e Makefile.WTF || /home/frank/Qt5.1.1/5.1.1/gcc_64/bin/qmake /home/frank/webkit/Source/WTF/WTF.pro CONFIG-=production_build -o Makefile.WTF ) && make -f Makefile.WTF make[1]: Entering directory `/home/frank/webkit/WebKitBuild/Release/Source/WTF' g++ -c -pipe -O3 -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -I../../../../../Qt5.1.1/5.1.1/gcc_64/mkspecs/linux-g++ -I../../../../Source/WTF -I../../../../Source/WTF -I../../../../Source/WTF/wtf -I../../../../../Qt5.1.1/5.1.1/gcc_64/include -I../../../../../Qt5.1.1/5.1.1/gcc_64/include/QtCore -I. -I. -o Assertions.o ../../../../Source/WTF/wtf/Assertions.cpp In file included from ../../../../Source/WTF/wtf/Platform.h:32:0, from ../../../../Source/WTF/config.h:30, from ../../../../Source/WTF/wtf/Assertions.cpp:34: ../../../../Source/WTF/wtf/Compiler.h:185:2: error: #error "Please use a compiler that supports C++11 rvalue references." ../../../../Source/WTF/wtf/Compiler.h:188:2: error: #error "Please use a compiler that supports C++11 static_assert." ../../../../Source/WTF/wtf/Compiler.h:191:2: error: #error "Please use a compiler that supports C++11 auto." ……. What should I do?
_______________________________________________ webkit-qt mailing list [email protected] https://lists.webkit.org/mailman/listinfo/webkit-qt
