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
展开
 我来答
怪物甄别指南rY
2014-10-29 · TA获得超过1541个赞
知道大有可为答主
回答量:1005
采纳率:0%
帮助的人:935万
展开全部
你要把安装包放在自己的Home下面啊,要不然就要sudo ./configure
本回答被网友采纳
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式