zoukankan      html  css  js  c++  java
  • centos 安装依赖错误

    出现下列错误:

    • error: curl/curl.h: No such file or directory

         出错原因:缺少libcurl-dev or libcurl-devel

         centOS上安装依赖包:

    yum install libcurl-dev libcurl-devel 

     

    • error: openssl/ssl.h: No such file or directory

    yum install openssl-devel

     

    • expat.h:没有那个文件或目录  #include <expat.h>

    yum install expat-devel

    • GEN perl/PM.stamp

        SUBDIR perl
    /usr/bin/perl Makefile.PL PREFIX='/root' INSTALL_BASE='' --localedir='/root/share/locale'
    Can't locate ExtUtils/MakeMaker.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at Makefile.PL line 3.
    BEGIN failed--compilation aborted at Makefile.PL line 3.
    make[1]: *** [perl.mak] 错误 2
    make: *** [perl/perl.mak] 错误 2

    先执行:

    yum install perl-ExtUtils-MakeMaker package.

    行进安装

    若出现错误二:

    •  /bin/sh: msgfmt: command not found

    yum install gettext-devel

  • 相关阅读:
    Java-循环语句和条件语句
    Java-变量函数 上
    python
    python
    python
    Xpath
    python + selenium
    python + selenium
    python + selenium
    Web
  • 原文地址:https://www.cnblogs.com/yunqie/p/6232381.html
Copyright © 2011-2022 走看看