zoukankan      html  css  js  c++  java
  • GEN configure /bin/sh: 1: autoconf: not found197

    1.git编译安装

    make configure

    2.提示没有make   

    sudo apt install make

    4../confiture prefix=/path/   #prefix制定安装路径

      报错信息有如下几种

    5.sudo make && make install

      有报错 具体错误看问题3

      

    git 安装时报错 1

    解决1:
    sudo apt-get install autoconf


    问题2:
    configure: Setting lib to 'lib' (the default)
    configure: Will try -pthread then -lpthread to enable POSIX Threads.
    configure: CHECKS for site configuration
    checking for gcc... no
    checking for cc... no
    checking for cl.exe... no
    configure: error: in `/opt/git-2.9.3':
    configure: error: no acceptable C compiler found in $PATH
    See `config.log' for more details


    解决2:(注意对应版本 我的是debian 10) 执行如下命令
    非ubuntu/debian 使用 dnf groupinstall "Development Tools" 据说yum被弃用啦
    如果安装成功,那么您将拥有全套的开发工具。如gcc,g ++,make,ld等。之后,您可以再次尝试编译代码块。


    sudo apt-get install build-essential
    

      

    成功
     

    问题3:


    解决3:
    sudo apt-get install zlib1g-dev
     
    sudo apt-get install build-essential

    问题4:
    Manifying 9 pod documents
    SUBDIR templates
    MSGFMT po/build/locale/pt_PT/LC_MESSAGES/git.mo
    /bin/sh: 1: msgfmt: not found
    make: *** [Makefile:2094:po/build/locale/pt_PT/LC_MESSAGES/git.mo] 错误 127
    

      解决4:

    sudo apt install gettext
     
  • 相关阅读:
    nyoj 42 一笔画 欧拉通路
    布丰投针实验1
    poj 1328 贪心
    uva 10026 贪心
    zoj 1375 贪心
    uva 103 经典DAG变形
    uva 11088 暴力枚举子集/状压dp
    jsp分页功能
    static静态变量的理解
    Vector & ArrayList 的主要区别
  • 原文地址:https://www.cnblogs.com/Ai-Hen-Jiao-zhi/p/12117081.html
Copyright © 2011-2022 走看看