no acceptable C compiler found in $PATH
2015-11-19 00:00
274 查看
为了安装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安装后就可以正常执行了
原因: 新装的centos系统,只是做了yum update更新,没有做其他处理
相关文章推荐
- libevent库的使用--定时器的使用实例
- Linux下编译安装php libevent扩展实例
- nginx的FastDFS分布式存储模块测试方法
- Fastdfs与nginx进行压缩图片比率
- FastDFS安装配置
- libevent 一个简单的event示例
- libevent 初始化与event_init
- libevent event_set函数与event_add函数解析 [SYM]
- libevent2 bufferevent应用示例
- centos6.2系统下安装配置FastDFS步骤
- Fastdfs 相关问题汇总
- 【网游服务器】Linux下libevent安装与示例
- FastDFS+Nginx安装配置笔记
- 后续博客的方向
- 静态编译libevent
- libevent源码分析之 tail queue
- FASTDFS文件系统迁移
- libevent安装与libevent定时器
- Archlinux使用最新版goagent的几点注意(无法上传问题)
- cocos2dx加libevent库