NGINX依赖性失败

当我尝试./configure nginx 1.4或1.5我得到下面。

checking for OS + Linux 2.6.18-274.18.1.el5 x86_64 checking for C compiler ... not found ./configure: error: C compiler cc is not found 

所以我尝试安装yum安装GCC并获取下面的内容。

 glibc-headers-2.5-58.x86_64 from RHEL-5-64 has depsolving problems --> Missing Dependency: glibc = 2.5-58 is needed by package glibc-headers-2.5-58.x86_64 (RHEL-5-64) glibc-devel-2.5-58.x86_64 from RHEL-5-64 has depsolving problems --> Missing Dependency: glibc = 2.5-58 is needed by package glibc-devel-2.5-58.x86_64 (RHEL-5-64) Error: Missing Dependency: glibc = 2.5-58 is needed by package glibc-devel-2.5-58.x86_64 (RHEL-5-64) Error: Missing Dependency: glibc = 2.5-58 is needed by package glibc-headers-2.5-58.x86_64 (RHEL-5-64) 

但是,当我尝试yum install glibc我得到这个结果。

  Setting up Install Process Package matching glibc-2.5-58.x86_64 already installed. Checking for update. Package matching glibc-2.5-58.i686 already installed. Checking for update. Nothing to do 

所以,从我看到的依赖关系在那里,所以我错过了什么?

提前致谢。

您的机器没有激活的红帽订阅。 将活动订阅分配给机器,然后重试。