ubuntu安装nginx ./configure 出现下面问题 20
./configure:45:auto/init:cannotcreateMakefile:Permissiondeniedmkdir:cannotcreatedirec...
./configure: 45: auto/init: cannot create Makefile: Permission denied
mkdir: cannot create directory 'objs': Permission denied
./configure: 16: ./configure: cannot create objs/ngx_auto_headers.h: Directory nonexistent
./configure: 17: ./configure: cannot create objs/autoconf.err: Directory nonexistent
./configure: 19: ./configure: cannot create objs/ngx_auto_config.h: Directory nonexistent
checking for OS
+ Linux 3.13.0-24-generic x86_64
checking for C compiler ..../configure: 8: auto/feature: cannot create objs/autoconf.err: Directory nonexistent
./configure: 28: auto/feature: cannot create objs/autotest.c: Directory nonexistent
./configure: 1: eval: cannot create objs/autoconf.err: Directory nonexistent
not found
./configure: 116: auto/feature: cannot create objs/autoconf.err: Directory nonexistent
./configure: 117: auto/feature: cannot create objs/autoconf.err: Directory nonexistent
./configure: 118: auto/feature: cannot create objs/autoconf.err: Directory nonexistent
./configure: 119: auto/feature: cannot create objs/autoconf.err: Directory nonexistent
./configure: 120: auto/feature: cannot create objs/autoconf.err: Directory nonexistent
./configure: error: C compiler cc is not found 展开
mkdir: cannot create directory 'objs': Permission denied
./configure: 16: ./configure: cannot create objs/ngx_auto_headers.h: Directory nonexistent
./configure: 17: ./configure: cannot create objs/autoconf.err: Directory nonexistent
./configure: 19: ./configure: cannot create objs/ngx_auto_config.h: Directory nonexistent
checking for OS
+ Linux 3.13.0-24-generic x86_64
checking for C compiler ..../configure: 8: auto/feature: cannot create objs/autoconf.err: Directory nonexistent
./configure: 28: auto/feature: cannot create objs/autotest.c: Directory nonexistent
./configure: 1: eval: cannot create objs/autoconf.err: Directory nonexistent
not found
./configure: 116: auto/feature: cannot create objs/autoconf.err: Directory nonexistent
./configure: 117: auto/feature: cannot create objs/autoconf.err: Directory nonexistent
./configure: 118: auto/feature: cannot create objs/autoconf.err: Directory nonexistent
./configure: 119: auto/feature: cannot create objs/autoconf.err: Directory nonexistent
./configure: 120: auto/feature: cannot create objs/autoconf.err: Directory nonexistent
./configure: error: C compiler cc is not found 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询