请各位帮我看看安装nginx失败了
cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I /root/lnmp1.5/src/openssl-1.0.2o/.openssl/include -I objs \ -o objs/src/os/unix/ngx_user.o \ src/os/unix/ngx_user.c src/os/unix/ngx_user.c: In function 'ngx_libc_crypt': src/os/unix/ngx_user.c:26:7: error: 'struct crypt_data' has no member named 'current_salt' cd.current_salt[0] = ~salt[0]; ^ make[1]: *** [objs/Makefile:870: objs/src/os/unix/ngx_user.o] Error 1 make[1]: Leaving directory '/root/lnmp1.5/src/nginx-1.14.1' make: *** [Makefile:8: build] Error 2 make -f objs/Makefile make[1]: Entering directory '/root/lnmp1.5/src/nginx-1.14.1' cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I /root/lnmp1.5/src/openssl-1.0.2o/.openssl/include -I objs \ -o objs/src/os/unix/ngx_user.o \ src/os/unix/ngx_user.c src/os/unix/ngx_user.c: In function 'ngx_libc_crypt': src/os/unix/ngx_user.c:26:7: error: 'struct crypt_data' has no member named 'current_salt' cd.current_salt[0] = ~salt[0]; ^ make[1]: *** [objs/Makefile:870: objs/src/os/unix/ngx_user.o] Error 1 make[1]: Leaving directory '/root/lnmp1.5/src/nginx-1.14.1' make: *** [Makefile:8: build] Error 2 make -f objs/Makefile install make[1]: Entering directory '/root/lnmp1.5/src/nginx-1.14.1' cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I /root/lnmp1.5/src/openssl-1.0.2o/.openssl/include -I objs \ -o objs/src/os/unix/ngx_user.o \ src/os/unix/ngx_user.c src/os/unix/ngx_user.c: In function 'ngx_libc_crypt': src/os/unix/ngx_user.c:26:7: error: 'struct crypt_data' has no member named 'current_salt' cd.current_salt[0] = ~salt[0]; ^ make[1]: *** [objs/Makefile:870: objs/src/os/unix/ngx_user.o] Error 1 make[1]: Leaving directory '/root/lnmp1.5/src/nginx-1.14.1' make: *** [Makefile:11: install] Error 2 cp: cannot create regular file '/usr/local/nginx/conf/nginx.conf': No such file or directory cp: cannot create directory '/usr/local/nginx/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 cp: cannot create regular file '/usr/local/nginx/conf/magento2-example.conf': No such file or directory chown: changing ownership of '/home/wwwroot/default/.user.ini': Operation not permitted mkdir: cannot create directory '/usr/local/nginx/conf/vhost': No such file or directory Add nginx service at system startup... Starting nginx... /etc/init.d/nginx: line 41: /usr/local/nginx/sbin/nginx: No such file or directory failed The service command supports only basic LSB actions (start, stop, restart, try-restart, reload, force-reload, status). For other actions, please try to use systemctl. ============================== Check install ============================== Checking ... Error: Nginx install failed.
|