问答详情
源自:6-1 LAMP之安装nginx

为啥我每次make编译的时候就出错,本来也就这里是重点,能不能讲详细点?

make -f objs/Makefile

make[1]: Entering directory `/root/nginx-1.24.0'

cd ../pcre2.git/ \

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

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

./configure --disable-shared 

/bin/sh: line 0: cd: ../pcre2.git/: Not a directory

make[1]: *** [../pcre2.git//Makefile] Error 1

make[1]: Leaving directory `/root/nginx-1.24.0'

make: *** [build] Error 2


提问者:慕后端0451314 2023-08-05 23:00

个回答