我正在尝试在我的VPS上安装Passenger和Nginx.
我跟随these instructions并将所有源的所有链接替换为当前版本.
但是当我运行Nginx的Phusion Passenger安装程序时,gcc编译器出错了:
@H_404_10@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
我该怎么办?
OBS:我的VPS适用于CentOS 6.2 x64
最佳答案