hue编译过程中提示gcc: error: krb5-config:: No such file or directory

执行yum provides krb5-config

提示:

krb5-devel-1.14.1-26.el7.x86_64 : Development files needed to compile Kerberos 5 programs
Repo        : iso
Matched from:

Filename    : /usr/bin/krb5-config

于是执行yum install krb5-devel-1.14.1-26.el7.x86_64 

提示:

Error: Package: krb5-devel-1.14.1-26.el7.x86_64 (iso)
           Requires: libkadm5(x86-64) = 1.14.1-26.el7
           Installed: libkadm5-1.15.1-8.el7.x86_64 (@ipa)
               libkadm5(x86-64) = 1.15.1-8.el7
           Available: libkadm5-1.14.1-26.el7.x86_64 (iso)
               libkadm5(x86-64) = 1.14.1-26.el7
Error: Package: krb5-devel-1.14.1-26.el7.x86_64 (iso)
           Requires: krb5-libs(x86-64) = 1.14.1-26.el7
           Installed: krb5-libs-1.15.1-8.el7.x86_64 (@ipa)
               krb5-libs(x86-64) = 1.15.1-8.el7
           Available: krb5-libs-1.14.1-26.el7.x86_64 (iso)

               krb5-libs(x86-64) = 1.14.1-26.el7

说明当前环境中,安装的是1.15.1-8版本的,与iso源的冲突,于是下载krb5-devel-1.15.1-8版本,在:

http://mirror.centos.org/centos/7/os/x86_64/Packages/krb5-devel-1.15.1-8.el7.x86_64.rpm

执行rpm -ivh krb5-devel-1.15.1-8.el7.x86_64.rpm,

提示:

 rpm -ivh krb5-devel-1.15.1-8.el7.x86_64.rpm 
error: Failed dependencies:
keyutils-libs-devel is needed by krb5-devel-1.15.1-8.el7.x86_64
libcom_err-devel is needed by krb5-devel-1.15.1-8.el7.x86_64
libselinux-devel is needed by krb5-devel-1.15.1-8.el7.x86_64

libverto-devel is needed by krb5-devel-1.15.1-8.el7.x86_64



yum install libcom_err-devel-1.42.9-9.el7.x86_64

yum install libselinux-devel-2.5-6.el7.x86_64 

yum install keyutils-libs-devel-1.5.8-3.el7.x86_64

yum install libverto-devel

再次执行 rpm -ivh krb5-devel-1.15.1-8.el7.x86_64.rpm 成功


你可能感兴趣的:(Linux开发)