当我尝试 ./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 install 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
因此,从我所看到的情况来看,依赖关系是存在的,那么我遗漏了什么呢?
提前致谢。
答案1
您的计算机没有有效的 Red Hat 订阅。请为该计算机分配有效订阅,然后重试。