I am trying to install Qt5.2.1 on CentOS 6.4. I would like my Qt to have C++11 support. I followed instructions to install DevToolset, which installed gcc 4.8.1
[root@localhost Qt]# gcc —version
gcc (GCC) 4.8.1 20130715 (Red Hat 4.8.1-4)
I downloaded the Qt source and tried to run the configure command like so:
[root@localhost Qt]# ./configure -opensource -nomake examples -nomake tests -no-gtkstyle -confirm-license
Which results in an error:
STL functionality check failed! Cannot build Qt with this STL library.@
using verbose mode shows the following error:
{standard input}: Assembler messages:
{standard input}:250: Error: expecting string instruction after `rep’
{standard input}:254: Error: expecting string instruction after `rep’
{standard input}:276: Error: expecting string instruction after `rep’
If anyone knows how to fix this, or how to install Qt with C++11 support on CentOS, any tips would be greatly appreciated.
Thank you
↧