ubuntu 安装gcc
2016-01-15 14:07
253 查看
注安装pcre时:
如果提示: check for gcc.... compiler error 则需要安装gcc,ubuntu下可使用apt-get: #apt-get install gcc 如果还报错:configure: error: You need a C++ compiler for C++ support. #apt-get install build-essential 如果还是失败,需要更新/etc/apt/sources.list,可添加阿里云服务器: deb http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse #apt-get update |
相关文章推荐
- 测试网站访问速度的5个方法
- Java创建和解析Json数据方法(五)——Google Gson包的使用
- 【iOS】swift-通过JS获取webView的高度
- 2416开发记录五: misc设备驱动
- VIM小技巧
- 【iOS】swift-通过JS获取webView的高度
- iOS NSNotification的使用
- speex前置处理
- LINUX中gdm配置Xmanager连接
- 未名湖边的烦恼
- GitHub的安装使用
- 工作中常遇到的小白问题
- [Basic] 浮点型比较需要注意精度
- 禁止使用的极限用语
- OJ 系列之可怕的n的阶乘
- 内核udp报文截取、修改和发送
- Unity3d之NGUI制作技能冷却
- 通过重写ViewGroup学习onMeasure()和onLayout()方法
- 栅栏(CyclicBarrier类)的用法
- iOS懒加载学习笔记