lnmp安装nginx失败
src/core/ngx_murmurhash.c: In function ‘ngx_murmur_hash2’:src/core/ngx_murmurhash.c:37:11: error: this statement may fall through [-Werror=implicit-fallthrough=]
h ^= data << 16;
~~^~~~~~~~~~~~~~~~
src/core/ngx_murmurhash.c:38:5: note: here
case 2:
^~~~
src/core/ngx_murmurhash.c:39:11: error: this statement may fall through [-Werror=implicit-fallthrough=]
h ^= data << 8;
~~^~~~~~~~~~~~~~~
src/core/ngx_murmurhash.c:40:5: note: here
case 1:
^~~~
cc1: all warnings being treated as errors
make: *** Error 1
make: Leaving directory '/home/wangxuan/php/lnmp1.4/src/nginx-1.12.1'
make: *** Error 2
cp: cannot create regular file '/usr/local/nginx/conf/nginx.conf': No such file or directory
cp: cannot create regular file '/usr/local/nginx/conf/dabr.conf': No such file or directory
cp: cannot create regular file '/usr/local/nginx/conf/discuz.conf': No such file or directory
cp: cannot create regular file '/usr/local/nginx/conf/sablog.conf': No such file or directory
cp: cannot create regular file '/usr/local/nginx/conf/typecho.conf': No such file or directory
cp: cannot create regular file '/usr/local/nginx/conf/typecho2.conf': No such file or directory
cp: cannot create regular file '/usr/local/nginx/conf/wordpress.conf': No such file or directory
cp: cannot create regular file '/usr/local/nginx/conf/discuzx.conf': No such file or directory
cp: cannot create regular file '/usr/local/nginx/conf/none.conf': No such file or directory
cp: cannot create regular file '/usr/local/nginx/conf/wp2.conf': No such file or directory
cp: cannot create regular file '/usr/local/nginx/conf/phpwind.conf': No such file or directory
cp: cannot create regular file '/usr/local/nginx/conf/shopex.conf': No such file or directory
cp: cannot create regular file '/usr/local/nginx/conf/dedecms.conf': No such file or directory
cp: cannot create regular file '/usr/local/nginx/conf/drupal.conf': No such file or directory
cp: cannot create regular file '/usr/local/nginx/conf/ecshop.conf': No such file or directory
cp: cannot create regular file '/usr/local/nginx/conf/codeigniter.conf': No such file or directory
cp: cannot create regular file '/usr/local/nginx/conf/laravel.conf': No such file or directory
cp: cannot create regular file '/usr/local/nginx/conf/thinkphp.conf': No such file or directory
cp: cannot create regular file '/usr/local/nginx/conf/pathinfo.conf': No such file or directory
cp: cannot create regular file '/usr/local/nginx/conf/enable-php.conf': No such file or directory
cp: cannot create regular file '/usr/local/nginx/conf/enable-php-pathinfo.conf': No such file or directory
cp: cannot create regular file '/usr/local/nginx/conf/enable-ssl-example.conf': No such file or directory
mkdir: cannot create directory ‘/usr/local/nginx/conf/vhost’: No such file or directory
include/nginx.sh: line 82: /usr/local/nginx/conf/fastcgi.conf: No such file or directory
sed: can't read /usr/local/nginx/conf/nginx.conf: No such file or directory
求大神指教,谢谢 使用论坛搜索的 全文搜索 错误信息:objs/src/core/ngx_murmurhash.o] Error 1
页:
[1]