CentOS 6.5 下 安装 Tengine 执行配置命令
./configure
时提示以下错误:
./configure: error: the HTTP rewrite module requires the PCRE library.
You can either disable the module by using --without-http_rewrite_module
option, or install the PCRE library into the system, or build the PCRE library
statically from the source with nginx by using --with-pcre=<path> option.
解决方法:
执行以下命令:
yum -y install zlib zlib-devel openssl openssl--devel pcre pcre-devel部分输出:
Loaded plugins: fastestmirror, refresh-packagekit, security Loading mirror speeds from cached hostfile * base: mirrors.btte.net * extras: mirrors.btte.net * updates: mirrors.zju.edu.cn Setting up Install Process Package zlib-1.2.3-29.el6.x86_64 already installed and latest version No package openssl--devel available. Resolving Dependencies --> Running transaction check ---> Package openssl.x86_64 0:1.0.1e-15.el6 will be updated ---> Package openssl.x86_64 0:1.0.1e-42.el6_7.4 will be an update ---> Package pcre.x86_64 0:7.8-6.el6 will be updated ---> Package pcre.x86_64 0:7.8-7.el6 will be an update ---> Package pcre-devel.x86_64 0:7.8-7.el6 will be installed ---> Package zlib-devel.x86_64 0:1.2.3-29.el6 will be installed --> Finished Dependency Resolution Dependencies Resolved
相关文章: