make编译的时候报错

来源:6-1 LAMP之安装nginx

qq_九头大大_03755694

2016-11-09 11:40

[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


写回答 关注

3回答

  • 慕村0970927
    2016-11-09 17:11:48
    已采纳

    可能缺少依赖文件,yum -y install gcc c++ 试下

    KSMDNS

    提示已经装了,没解决问题

    2017-08-15 10:27:25

    共 2 条回复 >

  • 慕函数6590268
    2022-04-04 02:24:48

    老师是兼职干这个的吗

    spd10000hgfivzfjqcjzaaovobhuazcsrupfgmvnlvbddblylfkwr

  • sunsky94
    2017-02-10 10:52:49

    同样的问题,依赖文件安装完了还是不行

PHP环境LAMP/LNMP安装与配置

本课程适于PHP初学者,手把手教你LAMP/LNMP环境安装配置

45273 学习 · 224 问题

查看课程

相似问题