• 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

  • 相关阅读:
    array_count_values源码
    php 编译安装记录
    mysql 安装的过程做个记录
    初识highcharts 库
    php 不重新编译增加新扩展的方法
    备考PMP
    Beyond Compare4破解--写reg脚本删除注册表
    SourceTree 跳过登录
    正则 (?=exp)
    springmvc--处理器的返回参数
  • 原文地址:https://www.cnblogs.com/loyung/p/10336788.html
Copyright © 2020-2023  润新知