[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的源目录