configure: error: no acceptable C compiler found in $PATH
2010-12-03 10:17
447 查看
安装环境linux 4.4
安装系统的时候没装gcc什么的。!
[root@sun Server]# rpm -ivh gcc-4.1.1-52.el5.i386.rpm
warning: gcc-4.1.1-52.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
error: Failed dependencies:
cpp = 4.1.1-52.el5 is needed by gcc-4.1.1-52.el5.i386
libgomp = 4.1.1-52.el5 is needed by gcc-4.1.1-52.el5.i386
libgomp.so.1 is needed by gcc-4.1.1-52.el5.i386
先安装libgomp (Disk2),然后再次运行rpm -ivh gcc-4.1.1-52.el5.i386.rpm
,结果如下:
[root@sun Server]# rpm -ivh gcc-4.1.1-52.el5.i386.rpm
warning: gcc-4.1.1-52.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
error: Failed dependencies:
cpp = 4.1.1-52.el5 is needed by gcc-4.1.1-52.el5.i386
注意看,目前不再需要libgomp.so,我分析libgomp.so是libgomp的一个共享库
。
接下来安装cpp:
[root@sun Server]# rpm -ivh cpp-4.1.1-52.el5.i386.rpm (Disk1)
warning: cpp-4.1.1-52.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
Preparing... ########################################### [100%]
1:cpp ########################################### [100%]
成功!YES!!!
高兴的太早啦。
[root@sun Server]# rpm -ivh gcc-c++-4.1.1-52.el5.i386.rpm
warning: gcc-c++-4.1.1-52.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
error: Failed dependencies:
gcc = 4.1.1-52.el5 is needed by gcc-c++-4.1.1-52.el5.i386
libstdc++-devel = 4.1.1-52.el5 is needed by gcc-c++-4.1.1-52.el5.i386
观察发现,gcc-4.1.1-52.el5.i386.rpm已安装,不过系统还是提示需要,可能是没有libstdc++-devel的支持所致。
直接安装libstdc++-devel (Disk2)
[root@sun Server]# rpm -ivh libstdc++-devel-4.1.1-52.el5.i386.rpm
warning: libstdc++-devel-4.1.1-52.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
Preparing... ########################################### [100%]
1:libstdc++-devel ########################################### [100%]
gcc-c++ = 4.1.1-52.el5 is needed by gcc-objc++-4.1.1-52.el5.i386
注意:gcc-c++能独立安装,不过gcc-objc++必须和gcc-c++一起安装 。
不过,最后终于成功啦。嗨!功夫不负有心人,没白忙活。
安装系统的时候没装gcc什么的。!
[root@sun Server]# rpm -ivh gcc-4.1.1-52.el5.i386.rpm
warning: gcc-4.1.1-52.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
error: Failed dependencies:
cpp = 4.1.1-52.el5 is needed by gcc-4.1.1-52.el5.i386
libgomp = 4.1.1-52.el5 is needed by gcc-4.1.1-52.el5.i386
libgomp.so.1 is needed by gcc-4.1.1-52.el5.i386
先安装libgomp (Disk2),然后再次运行rpm -ivh gcc-4.1.1-52.el5.i386.rpm
,结果如下:
[root@sun Server]# rpm -ivh gcc-4.1.1-52.el5.i386.rpm
warning: gcc-4.1.1-52.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
error: Failed dependencies:
cpp = 4.1.1-52.el5 is needed by gcc-4.1.1-52.el5.i386
注意看,目前不再需要libgomp.so,我分析libgomp.so是libgomp的一个共享库
。
接下来安装cpp:
[root@sun Server]# rpm -ivh cpp-4.1.1-52.el5.i386.rpm (Disk1)
warning: cpp-4.1.1-52.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
Preparing... ########################################### [100%]
1:cpp ########################################### [100%]
成功!YES!!!
高兴的太早啦。
[root@sun Server]# rpm -ivh gcc-c++-4.1.1-52.el5.i386.rpm
warning: gcc-c++-4.1.1-52.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
error: Failed dependencies:
gcc = 4.1.1-52.el5 is needed by gcc-c++-4.1.1-52.el5.i386
libstdc++-devel = 4.1.1-52.el5 is needed by gcc-c++-4.1.1-52.el5.i386
观察发现,gcc-4.1.1-52.el5.i386.rpm已安装,不过系统还是提示需要,可能是没有libstdc++-devel的支持所致。
直接安装libstdc++-devel (Disk2)
[root@sun Server]# rpm -ivh libstdc++-devel-4.1.1-52.el5.i386.rpm
warning: libstdc++-devel-4.1.1-52.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
Preparing... ########################################### [100%]
1:libstdc++-devel ########################################### [100%]
gcc-c++ = 4.1.1-52.el5 is needed by gcc-objc++-4.1.1-52.el5.i386
注意:gcc-c++能独立安装,不过gcc-objc++必须和gcc-c++一起安装 。
不过,最后终于成功啦。嗨!功夫不负有心人,没白忙活。
相关文章推荐
- CentOS上安装软件错误提示:configure: error: no acceptable C compiler found in $PATH
- configure: error: no acceptable C compiler found in $PATH 问题解决
- configure: error: no acceptable C compiler found in $PATH 问题解决
- ./configure时提示错误 configure: error: no acceptable C compiler found in $PATH
- configure: error: no acceptable C compiler found in $PATH 问题解决
- Linux学习30_configure: error: no acceptable C compiler found in $PATH 问题解决
- configure: error: no acceptable C compiler found in $PATH
- Centos5.8(64位)装Python2.7.5执行./configure时报错,configure: error: no acceptable C compiler found in $PATH
- configure: error: no acceptable C compiler found in $PATH
- Python3.6安装报错 configure: error: no acceptable C compiler found in $PATH
- 报错:configure: error: no acceptable C compiler found in $PATH
- configure: error: no acceptable C compiler found in $PATH 问题解决
- centOS升级python2至python3过程中遇到configure: error: no acceptable C compiler found in $PATH
- configure: error: no acceptable C compiler found in $PATH See `config.log' for more details 问题解决
- configure: error: no acceptable C compiler found in $PATH 问题解决
- linux 每日学一点《解决.configure---error no acceptable C compiler found in $PATH 》
- configure 包,出现error: no acceptable C compiler found in $PATH 问题
- CentOS上安装软件错误提示:configure: error: no acceptable C compiler found in $PATH
- linux fedora 7 安装出现的 (configure: error: no acceptable C compiler found in $PATH)及 (No curses/termcap library found)处理
- Redhat 6.3提示:configure: error: no acceptable C compiler found in $PATH