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_0001_01CECC0B.19C28C90
Content-Type: text/html;
charset="gb2312"
Content-Transfer-Encoding: quoted-printable
<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 =
http-equiv=3DContent-Type content=3D"text/html; charset=3Dgb2312"><meta =
name=3DGenerator content=3D"Microsoft Word 14 (filtered =
medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:=CB=CE=CC=E5;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:=CB=CE=CC=E5;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"\@=CB=CE=CC=E5";
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;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"=C5=FA=D7=A2=BF=F2=CE=C4=B1=BE Char";
margin:0cm;
margin-bottom:.0001pt;
text-align:justify;
text-justify:inter-ideograph;
font-size:9.0pt;
font-family:"Calibri","sans-serif";}
span.EmailStyle17
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle18
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.Char
{mso-style-name:"=C5=FA=D7=A2=BF=F2=CE=C4=B1=BE Char";
mso-style-priority:99;
mso-style-link:=C5=FA=D7=A2=BF=F2=CE=C4=B1=BE;
font-family:"Calibri","sans-serif";}
.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'>Well, thanks for your reply. I tried to =
execute:<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US =
style=3D'color:#1F497D'>frank at frank-PC:~/webkit$ sudo =
./Tools/Scripts/build-webkit =A8Cqt<o:p></o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-US style=3D'color:#1F497D'>but I got =
messages following:<o:p></o:p></span></p><p class=3DMsoNormal><span =
lang=3DEN-US style=3D'color:#1F497D'>Can't exec "qmake": No =
such file or directory at /home/frank/webkit/Tools/Scripts/webkitdirs.pm =
line 1850.<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US =
style=3D'color:#1F497D'>Use of uninitialized value $hostDataPath in =
scalar chomp at /home/frank/webkit/Tools/Scripts/webkitdirs.pm line =
1850.<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US =
style=3D'color:#1F497D'>Use of uninitialized value $hostDataPath in =
concatenation (.) or string at =
/home/frank/webkit/Tools/Scripts/webkitdirs.pm line =
1851.<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US =
style=3D'color:#1F497D'>Can't exec "qmake": No such file or =
directory at /home/frank/webkit/Tools/Scripts/webkitdirs.pm line =
1853.<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US =
style=3D'color:#1F497D'>Use of uninitialized value $mkspec in scalar =
chomp at /home/frank/webkit/Tools/Scripts/webkitdirs.pm line =
1853.<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US =
style=3D'color:#1F497D'>Use of uninitialized value $hostDataPath in =
concatenation (.) or string at =
/home/frank/webkit/Tools/Scripts/webkitdirs.pm line =
1854.<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US =
style=3D'color:#1F497D'>Use of uninitialized value $mkspec in =
concatenation (.) or string at =
/home/frank/webkit/Tools/Scripts/webkitdirs.pm line =
1854.<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US =
style=3D'color:#1F497D'>Unable to determine current SVN revision in =
/home/frank/webkit at /home/frank/webkit/Tools/Scripts/VCSUtils.pm line =
417.<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US =
style=3D'color:#1F497D'>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 =
style=3D'color:#1F497D'><o:p> </o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-US style=3D'color:#1F497D'>Could not =
execute qmake at /home/frank/webkit/Tools/Scripts/webkitdirs.pm line =
2326.<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US =
style=3D'color:#1F497D'><o:p> </o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-US =
style=3D'color:#1F497D'><o:p> </o:p></span></p><p =
class=3DMsoNormal><span lang=3DEN-US style=3D'color:#1F497D'>It looks =
like that qmake is not installed successfully. So I just =
try:<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US =
style=3D'color:#1F497D'>frank at frank-PC:~/webkit$ =
qmake<o:p></o:p></span></p><p class=3DMsoNormal><span lang=3DEN-US =
style=3D'color:#1F497D'>It is ok. Im =
confused=A1=AD.<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:=CB=CE=CC=E5'>=B7=A2=BC=FE=C8=CB<sp=
an lang=3DEN-US>:</span></span></b><span lang=3DEN-US =
style=3D'font-size:10.0pt;font-family:=CB=CE=CC=E5'> Chen Zhixiang =
[mailto:chenzx at cn.fujitsu.com] <br></span><b><span =
style=3D'font-size:10.0pt;font-family:=CB=CE=CC=E5'>=B7=A2=CB=CD=CA=B1=BC=
=E4<span lang=3DEN-US>:</span></span></b><span lang=3DEN-US =
style=3D'font-size:10.0pt;font-family:=CB=CE=CC=E5'> 2013</span><span =
style=3D'font-size:10.0pt;font-family:=CB=CE=CC=E5'>=C4=EA<span =
lang=3DEN-US>10</span>=D4=C2<span lang=3DEN-US>18</span>=C8=D5<span =
lang=3DEN-US> 12:12<br></span><b>=CA=D5=BC=FE=C8=CB<span =
lang=3DEN-US>:</span></b><span lang=3DEN-US> 'Frank'; =
webkit-qt at lists.webkit.org<br></span><b>=D6=F7=CC=E2<span =
lang=3DEN-US>:</span></b><span lang=3DEN-US> </span>=B4=F0=B8=B4<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 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:=CB=CE=CC=E5'>=B7=A2=BC=FE=C8=CB<sp=
an lang=3DEN-US>:</span></span></b><span lang=3DEN-US =
style=3D'font-size:10.0pt;font-family:=CB=CE=CC=E5'> =
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:=CB=CE=CC=E5'>=B4=FA=B1=ED =
</span></b><span lang=3DEN-US =
style=3D'font-size:10.0pt;font-family:=CB=CE=CC=E5'>Frank<br></span><b><s=
pan =
style=3D'font-size:10.0pt;font-family:=CB=CE=CC=E5'>=B7=A2=CB=CD=CA=B1=BC=
=E4<span lang=3DEN-US>:</span></span></b><span lang=3DEN-US =
style=3D'font-size:10.0pt;font-family:=CB=CE=CC=E5'> 2013</span><span =
style=3D'font-size:10.0pt;font-family:=CB=CE=CC=E5'>=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_0001_01CECC0B.19C28C90--
More information about the webkit-qt
mailing list