automake-1.16: 未找到命令 command not found

发布时间 2023-06-08 14:10:24作者: 悟透

错误内容:

/home/qrry/gine/missing: 行 81: automake-1.16: 未找到命令
WARNING: 'automake-1.16' is missing on your system.
         You should only need it if you modified 'Makefile.am' or
         'configure.ac' or m4 files included by 'configure.ac'.
         The 'automake' program is part of the GNU Automake package:
         <https://www.gnu.org/software/automake>
         It also requires GNU Autoconf, GNU m4 and Perl in order to run:
         <https://www.gnu.org/software/autoconf>
         <https://www.gnu.org/software/m4/>
         <https://www.perl.org/>

  

查看 automake 安装的版本:

automake --version 

  

解决方法:

1.看系统是否安装了 automake   没有,

  可以到官网下载 https://ftp.gnu.org/gnu/automake/ 

  安装方法:https://www.cnblogs.com/syq816/p/9598467.html

 

2. 编译时候需要的是 automake-1.16 这个名字,而系统里默认的名字是  automake, 所以找不到  automake-1.16

 先看看  automake 安装到什么地方了

whereis automake     

  创建软链接即可。

cd /usr/local/bin/
ln -s /usr/local/bin/automake automake-1.16