GEN configure /bin/sh: 1: autoconf: not found

Posted ai-hen-jiao-zhi

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了GEN configure /bin/sh: 1: autoconf: not found相关的知识,希望对你有一定的参考价值。

1.git编译安装

make configure

2.提示没有make   

sudo apt install make

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

  报错信息有如下几种

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:

gcc make g++ zlib-dev
成功
 技术图片

以上是关于GEN configure /bin/sh: 1: autoconf: not found的主要内容,如果未能解决你的问题,请参考以下文章

/bin/sh^M:解释器错误:没有那个文件或目录

LAMPLNMP环境编译参数查询

Ansible 失败并显示 /bin/sh: 1: /usr/bin/python: not found

/bin/sh: 1: 语法错误:反引号替换中的 EOF

/bin/sh: 1: bison: not found

Github 操作 - /bin/sh: 1: jest: not found