这是个很小的问题,因为刚接触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
,如需转载请自行联系原作者