Problem building Qt5.2 from source on Ubuntu 13.10 with gcc 4.8.1 in C++11 mode
-
I am getting the below error in qtscript which appears to be the same as QTBUG 27029
(https://bugreports.qt-project.org/browse/QTBUG-27029). Is there a workaround I can apply?--Kannan.
The full command line with the error is at http://pastebin.com/zwgHuSM5 as it was over the 6000 char post limit. The relevant error message is below:../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_exec.cpp
In file included from ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastAllocBase.h:84:0,
from ../3rdparty/javascriptcore/JavaScriptCore/wtf/Vector.h:24,
from ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_exec.cpp:50:
../3rdparty/javascriptcore/JavaScriptCore/wtf/TypeTraits.h:173:69: error: ‘std::tr1’ has not been declared
template<typename T> struct HasTrivialConstructor : public std::tr1::has_trivial_constructor<T> { };
^
../3rdparty/javascriptcore/JavaScriptCore/wtf/TypeTraits.h:173:74: error: expected ‘{’ before ‘has_trivial_constructor’
template<typename T> struct HasTrivialConstructor : public std::tr1::has_trivial_constructor<T> { };
^
../3rdparty/javascriptcore/JavaScriptCore/wtf/TypeTraits.h:173:97: error: expected initializer before ‘<’ token
template<typename T> struct HasTrivialConstructor : public std::tr1::has_trivial_constructor<T> { };
^
../3rdparty/javascriptcore/JavaScriptCore/wtf/TypeTraits.h:174:68: error: ‘std::tr1’ has not been declared
template<typename T> struct HasTrivialDestructor : public std::tr1::has_trivial_destructor<T> { };
^
../3rdparty/javascriptcore/JavaScriptCore/wtf/TypeTraits.h:174:73: error: expected ‘{’ before ‘has_trivial_destructor’
template<typename T> struct HasTrivialDestructor : public std::tr1::has_trivial_destructor<T> { };
^
../3rdparty/javascriptcore/JavaScriptCore/wtf/TypeTraits.h:174:95: error: expected initializer before ‘<’ token
template<typename T> struct HasTrivialDestructor : public std::tr1::has_trivial_destructor<T> { };
^
make: *** [obj/release/pcre_exec.o] Error 1