源码安装nginx报错,找不到gcc,但是实际上gcc是存在的,如下:
# ./configure checking for OS + Linux 3.10.0-957.el7.x86_64 x86_64 checking for C compiler ... not found ./configure: error: C compiler cc is not found #
尝试找寻gcc
# whereis gcc gcc: /usr/bin/gcc /usr/lib/
源码安装nginx报错,找不到gcc,但是实际上gcc是存在的,如下:
# ./configure checking for OS + Linux 3.10.0-957.el7.x86_64 x86_64 checking for C compiler ... not found ./configure: error: C compiler cc is not found #
尝试找寻gcc
# whereis gcc gcc: /usr/bin/gcc /usr/lib/