首页 > 其他 > 详细

阿里云ecs使用补充说明

时间:2016-04-17 12:57:37      阅读:215      评论:0      收藏:0      [点我收藏+]

前置文章:http://www.cnblogs.com/newbob/articles/5400495.html

阿里云ecs使用心得的一些个人补充部分

一、在yum安装node/npm的过程中出现的WARNING: C++ compiler too old, need g++ 4.8 or clang++ 3.4 (CXX=g++)

提醒很简单,解决方法也相对简单,升级相应环境:

1、升级g++

 

sudo curl http://linuxsoft.cern.ch/cern/scl/slc6-scl.repo > /etc/yum.repos.d/slc6-scl.repo
sudo rpm --import http://ftp.mirrorservice.org/sites/ftp.scientificlinux.org/linux/scientific/51/i386/RPM-GPG-KEYs/RPM-GPG-KEY-cern
sudo yum install -y devtoolset-3

 

环境变量:

scl enable devtoolset-3 bash

 

接下来可以继续编译、安装了:

./configure
make && make install

 

阿里云ecs使用补充说明

原文:http://www.cnblogs.com/newbob/p/5400622.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!