nginx升级提示失败

问答中心分类: Linuxnginx升级提示失败
天天向上 提问 1年 前

升级nginx的时候,出现了下面的错误,请问怎么处理?
Please input upgrade Nginx Version(example: 1.9.15): 1.10.1
[openssl-1.0.2h.tar.gz] found
[pcre-8.38.tar.gz] found
Download [nginx-1.10.1.tar.gz] successfully!
[nginx-1.10.1.tar.gz] found
Press Ctrl+c to cancel or Press any key to continue…
make: *** No rule to make target `clean’.  Stop.
./configure: error: invalid option “–with-http_spdy_module”
make: *** No targets specified and no makefile found.  Stop.
Upgrade Nginx failed!

What Are You Doing?
        1. Upgrade Nginx/Tengine/OpenResty
        2. Upgrade MySQL/MariaDB/Percona
        3. Upgrade PHP
        4. Upgrade Redis
        5. Upgrade phpMyAdmin
        q. Exit