No subject
Mon Jan 28 08:41:14 PST 2013
supports
C++11?
=20
=B7=A2=BC=FE=C8=CB: webkit-qt-bounces at lists.webkit.org
[mailto:webkit-qt-bounces at lists.webkit.org] =B4=FA=B1=ED Frank
=B7=A2=CB=CD=CA=B1=BC=E4: 2013=C4=EA10=D4=C218=C8=D5 9:33
=CA=D5=BC=FE=C8=CB: webkit-qt at lists.webkit.org
=D6=F7=CC=E2: [webkit-qt] Unable to determine current SVN revision in
/home/frank/webkit at /home/frank/webkit/Tools/Scripts/VCSUtils.pm when
build webkit
=20
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 =A8Cqt. 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-=3Dproduction_build' =
in
/home/frank/webkit/WebKitBuild/Release
=20
/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.
=20
Calling 'make -j1' in /home/frank/webkit/WebKitBuild/Release
=20
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-=3Dproduction_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."
=A1=AD=A1=AD.
=20
What should I do?
------=_NextPart_000_05F8_01CECBFB.381D09A0
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
charset="gb2312"
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dgb2312">
<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta name=3DGenerator =
content=3D"Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
text-align:justify;
text-justify:inter-ideograph;
font-size:10.5pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DZH-CN link=3Dblue =
vlink=3Dpurple style=3D'text-justify-trim:punctuation'><div =
class=3DWordSection1><p class=3DMsoNormal><span lang=3DEN-US =
style=3D'color:#1F497D'>From the error info, maybe you should update =
your gcc to 4.7+ which supports C++11?<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-US =
style=3D'color:#1F497D'><o:p> </o:p></span></p><div><div =
style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm =
0cm 0cm'><p class=3DMsoNormal align=3Dleft =
style=3D'text-align:left'><b><span =
style=3D'font-size:10.0pt;font-family:SimSun'>=B7=A2=BC=FE=C8=CB<span =
lang=3DEN-US>:</span></span></b><span lang=3DEN-US =
style=3D'font-size:10.0pt;font-family:SimSun'> =
webkit-qt-bounces at lists.webkit.org =
[mailto:webkit-qt-bounces at lists.webkit.org] </span><b><span =
style=3D'font-size:10.0pt;font-family:SimSun'>=B4=FA=B1=ED =
</span></b><span lang=3DEN-US =
style=3D'font-size:10.0pt;font-family:SimSun'>Frank<br></span><b><span =
style=3D'font-size:10.0pt;font-family:SimSun'>=B7=A2=CB=CD=CA=B1=BC=E4<sp=
an lang=3DEN-US>:</span></span></b><span lang=3DEN-US =
style=3D'font-size:10.0pt;font-family:SimSun'> 2013</span><span =
style=3D'font-size:10.0pt;font-family:SimSun'>=C4=EA<span =
lang=3DEN-US>10</span>=D4=C2<span lang=3DEN-US>18</span>=C8=D5<span =
lang=3DEN-US> 9:33<br></span><b>=CA=D5=BC=FE=C8=CB<span =
lang=3DEN-US>:</span></b><span lang=3DEN-US> =
webkit-qt at lists.webkit.org<br></span><b>=D6=F7=CC=E2<span =
lang=3DEN-US>:</span></b><span lang=3DEN-US> [webkit-qt] Unable to =
determine current SVN revision in /home/frank/webkit at =
/home/frank/webkit/Tools/Scripts/VCSUtils.pm when build =
webkit<o:p></o:p></span></span></p></div></div><p class=3DMsoNormal =
align=3Dleft style=3D'text-align:left'><span =
lang=3DEN-US><o:p> </o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-US>Hi all:<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-US>How can I compile qtwebkit project in Ubuntu. I just follow =
<a =
href=3D"http://trac.webkit.org/wiki/QtWebKitGardening">http://trac.webkit=
.org/wiki/QtWebKitGardening</a> this guide, but it is failed when I run =
build-webkit =A8Cqt. It is said:<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-US>Unable to determine current SVN =
revision in /home/frank/webkit at =
/home/frank/webkit/Tools/Scripts/VCSUtils.pm line =
418.<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-US>Calling 'qmake /home/frank/webkit/WebKit.pro =
CONFIG-=3Dproduction_build' in =
/home/frank/webkit/WebKitBuild/Release<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-US><o:p> </o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-US>/home/frank/webkit/WebKit.pro:21: =
'use?' is not a recognized test function.<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-US>/home/frank/webkit/WebKit.pro:31: =
'build?' is not a recognized test function.<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-US>/home/frank/webkit/WebKit.pro:37: =
'build?' is not a recognized test function.<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-US><o:p> </o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-US>Calling 'make -j1' in =
/home/frank/webkit/WebKitBuild/Release<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-US><o:p> </o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-US>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-=3Dproduction_build -o =
Makefile.WTF ) && make -f Makefile.WTF<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-US>make[1]: Entering directory =
`/home/frank/webkit/WebKitBuild/Release/Source/WTF'<o:p></o:p></span></p>=
<p class=3DMsoNormal><span lang=3DEN-US>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<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-US>In file included from =
../../../../Source/WTF/wtf/Platform.h:32:0,<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
lang=3DEN-US> =
from =
../../../../Source/WTF/config.h:30,<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
lang=3DEN-US> =
from =
../../../../Source/WTF/wtf/Assertions.cpp:34:<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
lang=3DEN-US>../../../../Source/WTF/wtf/Compiler.h:185:2: error: #error =
"Please use a compiler that supports C++11 rvalue =
references."<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-US>../../../../Source/WTF/wtf/Compiler.h:188:2: error: #error =
"Please use a compiler that supports C++11 =
static_assert."<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-US>../../../../Source/WTF/wtf/Compiler.h:191:2: error: #error =
"Please use a compiler that supports C++11 =
auto."<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-US>=A1=AD=A1=AD.<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-US><o:p> </o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-US>What should I =
do?<o:p></o:p></span></p></div></body></html>
------=_NextPart_000_05F8_01CECBFB.381D09A0--
More information about the webkit-qt
mailing list