为了安装fastdfs系统,安装libevent
安装libevent发生的错误: no acceptable C compiler found in $PATH
[root@localhost libevent-2.0.21-stable]# ./configure 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 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: in '/home/wwang/libevent-2.0.21-stable': configure: error: no acceptable C compiler found in $PATH See 'config.log' for more details
解决办法:
[root@localhost libevent-2.0.21-stable]# yum install gcc
安装后就可以正常执行了