2016-01-27 6 views
1

Я не очень хорошо знаком с Linux, и я только начал изучать nginx и nodejs. Так как я работаю с Windows я попытался установить openresty через MinGW, запустив:Команда CC не найдена на открытой установке

tar xvf ngx_openresty-1.9.7.1.tar.gz 
cd ngx_openresty-1.9.7.1/ 
./configure 

, но я получаю следующее сообщение об ошибке:

platform: msys (msys) 
cp -rp bundle/ build 
cd build 
cd LuaJIT-2.1-20151219 
Can't exec "cc": No such file or directory at ./configure line 588. 
make [email protected]: CCDEBUG=-g CC=cc PREFIX=/usr/local/openresty/luajit 
==== Building LuaJIT 2.1.0-beta1 ==== 
make -C src 
make[1]: cc: Command not found 
make[1]: Entering directory `/c/ngx_openresty-1.9.7.1/build/LuaJIT-2.1-20151219/src' 
make[1]: cc: Command not found 
make[1]: cc: Command not found 
make[1]: cc: Command not found 
make[1]: cc: Command not found 
make[1]: cc: Command not found 
Makefile:262: *** Unsupported target architecture. Stop. 
make[1]: Leaving directory `/c/ngx_openresty-1.9.7.1/build/LuaJIT-2.1-20151219/src' 
make: *** [default] Error 2 
ERROR: failed to run command: make [email protected]: CCDEBUG=-g CC=cc PREFIX=/usr/local/openresty/luajit 

Есть ли что-то дополнительное, что мне нужно установить? GCC существует и версия 3.4.4 (MSYS специальные)

ответ

0

убедитесь, что у вас есть установить c & c++ в вашем Linux

вы можете попробовать

yum install gcc 

установить компилятор. Сборник компиляторов GNU, включая C, C++, Objective-C, Fortran, Java, Ada & Перейти

 Смежные вопросы

  • Нет связанных вопросов^_^