I'm trying to install Passenger and Nginx on my VPS.
I followed these instructions and replaced all links of all sources to the current version.
But when i ran the Phusion Passenger installer for Nginx, something with gcc compiler went wrong:
Compiling and installing Nginx...
# sh ./configure --prefix='/opt/nginx' --with-http_ssl_module --with-http_gzip_static_module --with-cc-opt='-Wno-error' --add-module='/usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.17/ext/nginx'
checking for OS
+ Linux 2.6.32-220.el6.x86_64 x86_64
checking for C compiler ... not found
./configure: error: C compiler gcc is not found
What should I do?
OBS: My VPS works with CentOS 6.2 x64
yum install zlib-devel wget openssl-devel pcre pcre-devel make gcc gcc-c++ curl-devel
? – Braggartyum install zlib-devel wget openssl-devel pcre pcre-devel make gcc gcc-c++ curl-devel
– Newsboygcc -v
and gotUsing built-in specs. Target: x86_64-redhat-linux gcc version 4.4.6 20120305 (Red Hat 4.4.6-4) (GCC)
– Newsboy