nginx - CC command not found on openresty installation -


i not familiar linux , have started learning nginx , nodejs. since work windows tried install openresty through mingw running:

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

but following error:

platform: msys (msys) cp -rp bundle/ build cd build cd luajit-2.1-20151219 can't exec "cc": no such file or directory @ ./configure line 588. make target_strip=@: 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 run command: make target_strip=@: ccdebug=-g cc=cc prefix=/usr/local/openresty/luajit 

is there additional need install? gcc exists , version 3.4.4 (msys special)

make sure have install c & c++ in linux

you can try

yum install gcc 

to install compiler . gnu compiler collection including c、c++、objective-c、fortran、java、ada&go


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -