VPS侦探论坛
标题:
lnmp1.2请问怎么安装nginx第三方模块?./upgrade.sh nginx失败了
[打印本页]
作者:
2335867854
时间:
2016-7-18 22:07
标题:
lnmp1.2请问怎么安装nginx第三方模块?./upgrade.sh nginx失败了
我再upgrade_nginx.sh 里面添加了Nginx_Modules_Arguments="/an/ngx_http_consistent_hash-master/" 然后用/upgrade.sh nginx升级 ,版本号还是输入的1.8.0 ============================check files==================================
nginx-1.8.0.tar.gz [found]
============================check files==================================
Uncompress nginx-1.8.0.tar.gz...
cd nginx-1.8.0...
./configure: error: invalid option "/an/ngx_http_consistent_hash-master/ngx_http_upstream_consistent_hash_module.c"
make: *** No targets specified and no makefile found. Stop.
cp: cannot stat `objs/nginx': No such file or directory
Test nginx configure file...
include/upgrade_nginx.sh: line 56: /usr/local/nginx/sbin/nginx: No such file or directory
upgrade...
make: *** No rule to make target `upgrade'. Stop.
作者:
licess
时间:
2016-7-19 08:23
明显参数不对,引号中要加完整的参数: --add-module=/path/to/完整第三方模块目录名
作者:
2335867854
时间:
2016-7-19 08:48
标题:
回复 2# 的帖子
非常谢谢军哥,昨晚纠结一晚上
欢迎光临 VPS侦探论坛 (https://bbs.lnmp.com/)
Powered by Discuz! X3.4