centos7 ag安装错误解决

IT-Pony 2017-11-15 AM 1656℃ 0条

错误一

  • 报错信息

    configure: error: Package requirements (libpcre) were not met:

    No package 'libpcre' found

    Consider adjusting the PKG_CONFIG_PATH environment variable if you
    installed software in a non-standard prefix.

    Alternatively, you may set the environment variables PCRE_CFLAGS
    and PCRE_LIBS to avoid the need to call pkg-config.
    See the pkg-config man page for more details.

  • 解决方法
    export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig

错误二

  • 报错信息

    configure: error: Package requirements (liblzma) were not met:

    No package 'liblzma' found

    Consider adjusting the PKG_CONFIG_PATH environment variable if you
    installed software in a non-standard prefix.

    Alternatively, you may set the environment variables LZMA_CFLAGS
    and LZMA_LIBS to avoid the need to call pkg-config.
    See the pkg-config man page for more details.

  • 解决方法
     yum -y install xz-devel
标签: none

非特殊说明,本博所有文章均为博主原创。

评论啦~