I've been trying without success to install the Nginx version of Phusion Passenger (mod_rails) on my server by using the command
gem install passenger followed by
passenger-install-nginx-module. Everything goes smoothly, until I get the below error at the end:
I'm not really sure what the problem could be. Any suggestions would be greatly appreciated. Thanks in advance!
# sh ./configure --prefix='/opt/nginx' --with-http_ssl_module --with-pcre='/tmp/root-passenger-15796/pcre-8.10' --add-module='/usr/lib/ruby/gems/1.8/gems/passenger-3.0.6/ext/nginx' checking for OS + Linux 2.6.18-028stab070.14 x86_64 checking for C compiler ... found but is not working
./configure: error: C compiler gcc is not found
Edits from Incognito (rather than adding a million comments):
I'm following the guides here so that I can run redmine on nginx using postgresql. This is rigged by a shell script from
passenger-install-nginx-module which runs
sh ./configure --prefix='/opt/nginx' --with-http_ssl_module --with-cc-opt='-Wno-error' --add-module='/usr/lib/ruby/gems/1.8/gems/passenger-3.0.9/ext/nginx'
Right after attempting to install nginx with passenger...
Here's the relevant lines of code that throw this error: http://pastebin.com/GwrJcEkf
Here's a copy of the config.log that was spit out: http://pastebin.com/qkepYZ6X
I end up with the exact same issue on Ubuntu11, and Debian 6.