zoukankan      html  css  js  c++  java
  • HUE安装过程中的一些坑

    1. gcc: error: krb5-config:: No such file or directory

    执行安装krb5-devel

    yum provides krb5-config

    得到提示:

    Loaded plugins: langpacks, product-id, search-disabled-repos

    krb5-devel-1.15.1-8.el7.i686 : Development files needed to compile Kerberos 5 programs

    Repo        : rhel-yum

    Matched from:

    Filename    : /usr/bin/krb5-config

    执行安装:yum install krb5-devel-1.15.1-8.el7.x86_64

    提示:

    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

    https://pkgs.org/搜一下这个几个安装包,逐个安装即可,安装过程中可能会提示依赖未安装。

    针对安装过过程种的错误提示Failed dependencies,

    可以使用命令

    rpm -ivh  libcom_err-devel-1.42.9-13.el7.x86_64.rpm --nodeps --force

    rpm -ivh  libselinux-devel-2.5-14.1.el7.x86_64.rpm --nodeps --force

    rpm -ivh  libkadm5-1.15.1-34.el7.x86_64.rpm --nodeps --force

    rpm -ivh  krb5-devel-1.15.1-8.el7.x86_64.rpm --nodeps --force

    安装完后重新运行即可。

    2. fatal error: 'openssl/e_os2.h' file not found

    出现这个异常的原因是没有找到'openssl下的*.h文件,可以查看/usr/include/openssl/e_os2.h

    是否存在,如果没有openssl目录应该就是没有安装openssl

    CentOS、RedHalt执行yum install openssl-devel

    ubuntu 执行sudo apt-get install libssl-dev

  • 相关阅读:
    C#基础
    C#基础
    Sqlserver数据库备份和还原
    C#基础
    Python3学习笔记4
    Python3学习笔记3
    调用接口Post xml和json数据的通用方法
    Python3学习笔记2
    Python3学习笔记1
    常见的PHP函数代码性能对比
  • 原文地址:https://www.cnblogs.com/loyung/p/10336788.html
Copyright © 2011-2022 走看看