make編譯的時候報錯
[root@localhost nginx-1.10.2]# make
make -f objs/Makefile
make[1]: Entering directory `/root/nginx-1.10.2'
cd ../pcre-8.37/ \
&& if [ -f Makefile ]; then make distclean; fi \
&& CC="cc" CFLAGS="-O2 -fomit-frame-pointer -pipe " \
./configure --disable-shared?
/bin/sh: line 0: cd: ../pcre-8.37/: 沒有那個文件或目錄
make[1]: *** [../pcre-8.37//Makefile] 錯誤 1
make[1]: Leaving directory `/root/nginx-1.10.2'
make: *** [build] 錯誤 2
2016-11-09
可能缺少依賴文件,yum -y install gcc c++ 試下
2017-02-10
同樣的問題,依賴文件安裝完了還是不行