标签:error
make -f objs/Makefile make[1]: Entering directory `/data/source/nginx‘ cd /usr/local/ufo/lib/pcre && if [ -f Makefile ]; then make distclean; fi && CC="gcc" CFLAGS="-O2 -fomit-frame-pointer -pipe " ./configure --disable-shared /bin/sh: ./configure: No such file or directory make[1]: *** [/usr/local/services/lib/pcre/Makefile] Error 127 make[1]: Leaving directory `/data/source/nginx-0.7.61‘ make: *** [build] Error 2
主要原因是:nginx编译所使用的pcre必须是源码包,--with-pcre=PATH是源码地址
解决办法:重新下载一个pcre包然后解压不用安装,将PATH指向该地址就ok
本文出自 “开源是精神,分享是美德” 博客,请务必保留此出处http://hongtengfei.blog.51cto.com/9881650/1761032
标签:error
原文地址:http://hongtengfei.blog.51cto.com/9881650/1761032