Fix “gcc: error trying to exec ‘cc1plus’: execvp: No such file or directory” in Fedora
2015-09-01 15:00
519 查看
原文 http://www.unixmen.com/fix-gcc-error-trying-exec-cc1plus-execvp-file-directory-fedora/
主题
Fedora GCC
Hi Guys,
These days, I am into fixing of Errors, especially on Fedora :-), I run into them first and after fixing it, I make it available to others who might fall prey sometime.
Well, you may be reading this because you started installing or compiling a package from source on your Fedora too, and the error message below; is what you see:
Open Terminal as root user and run:
Re-run what you were doing and this error you pass.
主题
Fedora GCC
Hi Guys,
These days, I am into fixing of Errors, especially on Fedora :-), I run into them first and after fixing it, I make it available to others who might fall prey sometime.
Well, you may be reading this because you started installing or compiling a package from source on your Fedora too, and the error message below; is what you see:
gcc: error trying to exec 'cc1plus': execvp: No such file or directory error: command 'gcc' failed with exit status 1 ---------------------------------------- Cleaning up...
ANSWER:
You need g++ in order to go through this. On Fedora the package name is gcc-c++Open Terminal as root user and run:
# yum install gcc-c++
Re-run what you were doing and this error you pass.
相关文章推荐
- CSS布局奇淫技巧之--各种居中
- How to access body of Custom tags in JSP tutorial
- jquery常用函数与方法
- 【leetcode每日一题】237.Delete Node in a Linked List
- jquery 设置css样式
- How to redirect to login page after cookie expires in Angular JS?
- JSP - Hits Counter
- 【前端】一句命令快速合并压缩 JS、CSS
- [LeetCode][JavaScript]Integer to English Words
- html 锚点的使用
- JSP Tutorial
- JSP - Include Directive
- js 计算两个日期之间的月数
- js实现点击向下展开的下拉菜单效果代码
- Jsp里中文乱码的解决办法
- 基于Metronic的Bootstrap开发框架经验总结(6)--对话框及提示框的处理和优化
- javascript的正则表达式
- freemarker从JSON中取值
- 关于使用tpl模板如何从模板中取数据放入js中
- 【前端】CSS雪碧