NGINX 依賴失敗

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 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 訂閱。為計算機分配有效訂閱,然後重試。

相關內容