configure: error: no acceptable C compiler found in $PATH

简介:

这是个很小的问题,因为刚接触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"



















本文转simmy51CTO博客,原文链接:http://blog.51cto.com/helpdesk/529551 ,如需转载请自行联系原作者
相关文章
成功解决ProxyError: Conda cannot proceed due to an error in your proxy configuration.Check for typos an
成功解决ProxyError: Conda cannot proceed due to an error in your proxy configuration.Check for typos an
成功解决ProxyError: Conda cannot proceed due to an error in your proxy configuration.Check for typos an
|
9月前
|
开发工具
WARNING: library configuration mismatch
WARNING: library configuration mismatch
198 0
configure: error: libacl not found
configure: error: libacl not found
62 0
configure: error: gperf is needed
configure: error: gperf is needed
92 0
configure: error: udev support requested but libudev header not installed
configure: error: udev support requested but libudev header not installed
256 0
解决办法:configure: error: You requested SRTP (requires libsrtp) but not found...die
解决办法:configure: error: You requested SRTP (requires libsrtp) but not found...die
116 0
configure: error: You requested LIBYUV but not found...die
configure: error: You requested LIBYUV but not found...die
66 0
configure: error: C compiler cannot create executables
configure: error: C compiler cannot create executables
284 0
|
网络协议 关系型数据库 Linux
onfigure: error: no acceptable C compiler found in $PATH See `config.log' for more details 问题解决
onfigure: error: no acceptable C compiler found in $PATH See `config.log' for more details 问题解决
146 0
|
Java Linux
error: Failed dependencies: libjvm.so()(64bit) is needed by (installed)
error: Failed dependencies: libjvm.so()(64bit) is needed by (installed)
error: Failed dependencies: libjvm.so()(64bit) is needed by (installed)