nginx安装失败
请各位帮我看看安装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.csrc/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 = ~salt; ^make: *** Error 1make: Leaving directory '/root/lnmp1.5/src/nginx-1.14.1'make: *** Error 2make -f objs/Makefilemake: 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.csrc/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 = ~salt; ^make: *** Error 1make: Leaving directory '/root/lnmp1.5/src/nginx-1.14.1'make: *** Error 2make -f objs/Makefile installmake: 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.csrc/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 = ~salt; ^make: *** Error 1make: Leaving directory '/root/lnmp1.5/src/nginx-1.14.1'make: *** Error 2cp: cannot create regular file '/usr/local/nginx/conf/nginx.conf': No such file or directorycp: cannot create directory '/usr/local/nginx/conf/': No such file or directorycp: cannot create regular file '/usr/local/nginx/conf/pathinfo.conf': No such file or directorycp: cannot create regular file '/usr/local/nginx/conf/enable-php.conf': No such file or directorycp: cannot create regular file '/usr/local/nginx/conf/enable-php-pathinfo.conf': No such file or directorycp: cannot create regular file '/usr/local/nginx/conf/enable-ssl-example.conf': No such file or directorycp: cannot create regular file '/usr/local/nginx/conf/magento2-example.conf': No such file or directorychown: changing ownership of '/home/wwwroot/default/.user.ini': Operation not permittedmkdir: cannot create directory '/usr/local/nginx/conf/vhost': No such file or directoryAdd nginx service at system startup...Starting nginx... /etc/init.d/nginx: line 41: /usr/local/nginx/sbin/nginx: No such file or directory failedThe 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.
安装日志在附件,谢谢大家 fedora gcc版本太高,lnmp 1.5上的nginx不支持,必须用lnmp1.6 谢谢,我试试 licess 发表于 2019-12-18 12:32
fedora gcc版本太高,lnmp 1.5上的nginx不支持,必须用lnmp1.6
lnmp1.6可以了,谢谢
页:
[1]