美文网首页
解决Centos6编译错误:expecting string i

解决Centos6编译错误:expecting string i

作者: 幽澜先生 | 来源:发表于2018-10-10 12:48 被阅读0次

centos6,gcc4.8.2下出现expectingstringinstructionafter`rep’的错误,解决方法: youneedtoinstalldevtoolset2.1

centos6,gcc 4.8.2下出现expecting string instruction after `rep’的错误,解决方法:

you need to install devtoolset 2.1

then install devtoolset-libutils

follow gnu build instuctions, should build fine now.

具体可以按照以下命令执行:

wget http://people.centos.org/tru/devtools-2/devtools-2.repo -O /etc/yum.repos.d/devtools-2.repo

yum install devtoolset-2-gcc devtoolset-2-binutils

yum install devtoolset-2-gcc-gfortran

相关文章

网友评论

      本文标题:解决Centos6编译错误:expecting string i

      本文链接:https://www.haomeiwen.com/subject/rpspaftx.html