Ubuntu NGINX命令make:target';构建';失败

Ubuntu NGINX命令make:target';构建';失败,ubuntu,nginx,nginx-config,Ubuntu,Nginx,Nginx Config,跑步后 ./configure \ --sbin-path=/usr/bin/nginx \ --conf-path=/etc/nginx/nginx.conf \ --error-log-path=/var/log/nginx/error.log \ --http-log-path=/var/log/nginx/access.log \ --with-pcre \ --pid-path=/var/run/nginx.pid \ --with-http_ssl_module 我运行了命令mak

跑步后

./configure \
--sbin-path=/usr/bin/nginx \
--conf-path=/etc/nginx/nginx.conf \
--error-log-path=/var/log/nginx/error.log \
--http-log-path=/var/log/nginx/access.log \
--with-pcre \
--pid-path=/var/run/nginx.pid \
--with-http_ssl_module
我运行了命令
make
,但出现了此错误

/bin/sh:1:cd:cannotcd to/var/run/nginx

Makefile:8:目标“构建”的配方失败


跑步后你是什么意思?输出错误的命令是什么<代码>制造
makeinstall
?@DarkWiiPlayer在makemybad之后,我会编辑帖子,这很奇怪
make
不需要访问项目目录之外的任何地方。