编译安装Apache:出现错误configure: error: mod_deflate
2024-09-05 16:16:38
在进行编译安装Apache时,出现如下错误
checking whether to enable mod_deflate... configure: error: mod_deflate has been requested but can not be built due to prerequisite failures
......................................
......................................
......................................
checking whether to enable mod_auth_digest... yes (most)
checking whether to enable mod_isapi... no
checking whether to enable mod_file_cache... no
checking whether to enable mod_cache... no
checking whether to enable mod_disk_cache... no
checking whether to enable mod_mem_cache... no
checking whether to enable mod_dbd... yes (most)
checking whether to enable mod_bucketeer... no
checking whether to enable mod_dumpio... yes (most)
checking whether to enable mod_echo... no
checking whether to enable mod_example... no
checking whether to enable mod_case_filter... no
checking whether to enable mod_case_filter_in... no
checking whether to enable mod_reqtimeout... yes (most)
checking whether to enable mod_ext_filter... yes (most)
checking whether to enable mod_include... yes (most)
checking whether to enable mod_filter... yes (most)
checking whether to enable mod_substitute... yes (most)
checking whether to enable mod_charset_lite... no
checking whether to enable mod_deflate... checking dependencies
checking for zlib location... not found
checking whether to enable mod_deflate... configure: error: mod_deflate has been requested but can not be built due to prerequisite failures
解决方法:安装zlib-devel库
yum install -y zlib-devel
.....................................
.....................................
.....................................
config.status: creating docs/conf/httpd.conf
config.status: creating docs/conf/extra/httpd-autoindex.conf
config.status: creating docs/conf/extra/httpd-dav.conf
config.status: creating docs/conf/extra/httpd-default.conf
config.status: creating docs/conf/extra/httpd-info.conf
config.status: creating docs/conf/extra/httpd-languages.conf
config.status: creating docs/conf/extra/httpd-manual.conf
config.status: creating docs/conf/extra/httpd-mpm.conf
config.status: creating docs/conf/extra/httpd-multilang-errordoc.conf
config.status: creating docs/conf/extra/httpd-ssl.conf
config.status: creating docs/conf/extra/httpd-userdir.conf
config.status: creating docs/conf/extra/httpd-vhosts.conf
config.status: creating include/ap_config_layout.h
config.status: creating support/apxs
config.status: creating support/apachectl
config.status: creating support/dbmmanage
config.status: creating support/envvars-std
config.status: creating support/log_server_status
config.status: creating support/logresolve.pl
config.status: creating support/phf_abuse_log.cgi
config.status: creating support/split-logfile
config.status: creating build/rules.mk
config.status: creating build/pkg/pkginfo
config.status: creating build/config_vars.sh
config.status: creating include/ap_config_auto.h
config.status: executing default commands
至此,编译成功
最新文章
- 带你实现开发者头条APP(五)--RecyclerView下拉刷新上拉加载
- MySQL 日期时间相关函数整理
- 压力测试报出503错误---ASP.NET支持大并发的相关配置
- 【Android】IntentService &; HandlerThread源码解析
- 自定义的你的ubuntu鼠标右键
- Vim练级笔记(持续更新)
- poj 1330 LCA最近公共祖先
- 禁掉或启用firefox 的 javascript 脚本
- APACHE 安装
- Eclipse出错不断,注册表不能乱改
- python 数字以及字符串(方法总结,有的可能理解错误)
- MySQL JDBC简单使用
- python大法好——继承、多态
- Spring的第四天AOP之注解版
- mysql备份数据库出错mysqldump: [ERROR] unknown option '--no-beep'
- Caffe 学习:Eltwise层
- jquery ui draggable,droppable 学习总结
- SpringBoot+JPA+cache入门
- CSS 布局:40个教程、技巧、例子和最佳实践
- win7 64位的 svchost.exe 占用内存过大的问题