configure: error: no acceptable C compiler found in $PATH
2011-03-29 08:56
567 查看
这是个很小的问题,因为刚接触Linux,开始时不明是什么原因,记录下。
要装一个库的时候提示如下错误:
[root@localhost libetpan-0.57]# ./configure ;make ;make install
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
原因是没装Development Tools和 Development Libraries
安装:
[root@station8 ~]# export LANG=en_US.UTF-8
[root@station8 ~]# yum grouplist
[root@station8 ~]# yum groupinstall "X Software Development"
##安装开发工具和开发库分组:
[root@station8 ~]#yum groupinstall "Development Tools" "Development Libraries"
要装一个库的时候提示如下错误:
[root@localhost libetpan-0.57]# ./configure ;make ;make install
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
原因是没装Development Tools和 Development Libraries
安装:
[root@station8 ~]# export LANG=en_US.UTF-8
[root@station8 ~]# yum grouplist
[root@station8 ~]# yum groupinstall "X Software Development"
##安装开发工具和开发库分组:
[root@station8 ~]#yum groupinstall "Development Tools" "Development Libraries"
相关文章推荐
- 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
- 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 问题解决
- 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 问题解决
- CentOS上安装软件错误提示: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 问题
- 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
- 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: error: no acceptable C compiler found in $PATH解决