lailei 发表于 2020-6-30 13:48:21

nginx安装失败,请大家帮我看看

make -f objs/Makefile
make: Entering directory `/root/lnmp1.7/src/nginx-1.18.0'
cd /root/lnmp1.7/src/openssl-1.1.1g \
&& if [ -f Makefile ]; then make clean; fi \
&& ./config --prefix=/root/lnmp1.7/src/openssl-1.1.1g/.openssl no-shared no-threads 'enable-weak-ssl-ciphers' \
&& make \
&& make install_sw LIBDIR=lib
/bin/sh: line 0: cd: /root/lnmp1.7/src/openssl-1.1.1g: No such file or directory
make: *** Error 1
make: Leaving directory `/root/lnmp1.7/src/nginx-1.18.0'
make: *** Error 2
make -f objs/Makefile
make: Entering directory `/root/lnmp1.7/src/nginx-1.18.0'
cd /root/lnmp1.7/src/openssl-1.1.1g \
&& if [ -f Makefile ]; then make clean; fi \
&& ./config --prefix=/root/lnmp1.7/src/openssl-1.1.1g/.openssl no-shared no-threads 'enable-weak-ssl-ciphers' \
&& make \
&& make install_sw LIBDIR=lib
/bin/sh: line 0: cd: /root/lnmp1.7/src/openssl-1.1.1g: No such file or directory
make: *** Error 1
make: Leaving directory `/root/lnmp1.7/src/nginx-1.18.0'
make: *** Error 2
make -f objs/Makefile install
make: Entering directory `/root/lnmp1.7/src/nginx-1.18.0'
cd /root/lnmp1.7/src/openssl-1.1.1g \
&& if [ -f Makefile ]; then make clean; fi \
&& ./config --prefix=/root/lnmp1.7/src/openssl-1.1.1g/.openssl no-shared no-threads 'enable-weak-ssl-ciphers' \
&& make \
&& make install_sw LIBDIR=lib
/bin/sh: line 0: cd: /root/lnmp1.7/src/openssl-1.1.1g: No such file or directory
make: *** Error 1
make: Leaving directory `/root/lnmp1.7/src/nginx-1.18.0'
make: *** 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 directory ‘/usr/local/nginx/conf/example’: No such file or directory
mkdir: cannot create directory ‘/usr/local/nginx/conf/vhost’: No such file or directory
include/nginx.sh: line 134: /usr/local/nginx/conf/fastcgi.conf: No such file or directory
3.9+
sed: can't read /usr/local/nginx/conf/nginx.conf: No such file or directory


licess 发表于 2020-6-30 21:04:36

/bin/sh: line 0: cd: /root/lnmp1.7/src/openssl-1.1.1g: No such file or directory
make: *** Error 1

你只提供了这一部分日志,只能看到nginx编译安卓需要使用的openssl源码不存在,有可能之前下载时你网络有问题或者什么位置原因没下载下来,没完整日志没法确定具体原因
页: [1]
查看完整版本: nginx安装失败,请大家帮我看看