apache源码编译安装./configure时出现gcc报错
来源:互联网 发布:知乎回答怎么加图片 编辑:程序博客网 时间:2024/06/07 02:21
[root@wenxiang httpd-2.2.24]# ./configure --prefix=/usr/local/apache2 --with-included-apr --enable-so --enable-deflate=shared --enable-expires=shared --enable-rewrite=shared --with-pcre
checking for chosen layout... Apache
checking for working mkdir -p... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
Configuring Apache Portable Runtime library ...
configuring package in srclib/apr now
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
Configuring APR library
Platform: i686-pc-linux-gnu
checking for working mkdir -p... yes
APR Version: 1.4.6
checking for chosen layout... apr
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/usr/local/src/httpd-2.2.24/srclib/apr':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details
configure failed for srclib/apr
checking for chosen layout... Apache
checking for working mkdir -p... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
Configuring Apache Portable Runtime library ...
configuring package in srclib/apr now
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
Configuring APR library
Platform: i686-pc-linux-gnu
checking for working mkdir -p... yes
APR Version: 1.4.6
checking for chosen layout... apr
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/usr/local/src/httpd-2.2.24/srclib/apr':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details
configure failed for srclib/apr
[root@wenxiang httpd-2.2.24]# yum install gcc
解决方法:yum install gcc
阅读全文
0 0
- apache源码编译安装./configure时出现gcc报错
- php configure编译报错
- 安装源码版apache出现 configure: error: C compiler cannot create executables错误
- GCC编译报错
- gcc 编译报错
- Apache源码编译安装
- 搭建apache ftpserver无法启动服务出现DefaultSsl.configure()报错信息
- linux 源码编译安装软件包./configure 详解
- 编译Apache出现的问题:configure: error: APR not found .
- gcc 编译安装 configure-stage1-target-libgcc] Error 1
- 安装gcc 报错
- Cygwin和MinGW同时安装后,GCC编译报错
- 源码包安装gcc ./contrib/download_prerequisites报错
- 安装Apache时 ./configure出现"/usr/local/src/httpd-2.2.21/srclib/apr":的解决方法
- Debian: 从源码安装apache时遇到的问题:configure: error: APR not found
- 编译安装php报错PHP configure: error: mcrypt.h not found. Please reinstall libmcrypt. 解决办法
- 安装apache:configure时报错 解决
- Linux apache+php编译安装以及报错解决
- lldb +debugserver调试环境部署(一)
- C/C++中*和&的用法
- Spring MVC 和 Spring 总结
- 谷歌官方Android应用架构库——LiveData
- 【Python】Numpy 中的 shuffle VS permutation
- apache源码编译安装./configure时出现gcc报错
- Android AppCompatActivity虚拟导航栏挡住App内容
- 考研之北邮
- Vim编辑器如何合并文件与合并文件本行
- Writing your first Django app, part 2
- HihoCoder上网络流算法题目建模总结
- Android自定义view-CircleSeekbar
- Redis学习笔记11--Redis分布式
- DuiLib消息处理剖析