码迷,mamicode.com
首页 > 其他好文 > 详细

编译nginx出错

时间:2016-11-04 02:45:56      阅读:138      评论:0      收藏:0      [点我收藏+]

标签:nginx


[root@node2 nginx-1.8.0]# make

make -f objs/Makefile

make[1]: 进入目录“/usr/soft/nginx-1.8.0”

cd /usr/lib/pcre \

&& if [ -f Makefile ]; then make distclean; fi \

&& CC="cc" CFLAGS="-O2 -fomit-frame-pointer -pipe " \

./configure --disable-shared 

/bin/sh:行2: ./configure: 没有那个文件或目录

make[1]: *** [/usr/lib/pcre/Makefile] 错误 127

make[1]: 离开目录“/usr/soft/nginx-1.8.0”

make: *** [build] 错误 2


显示找不到Makefile,

--with-pcre=/usr/lib/pcre 把目录指向到pcre的源目录

编译nginx出错

标签:nginx

原文地址:http://xiaoxiaot.blog.51cto.com/1641174/1869034

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!