Featured image of post Centos7编译问题:aclocal 1.14: commands not found

Centos7编译问题:aclocal 1.14: commands not found

使用centos7编译baidupcs出现如下错误

CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /root/BaiduPCS/build-aux/missing aclocal-1.15 -I m4
/root/BaiduPCS/build-aux/missing: line 81: aclocal-1.15: command not found
WARNING: 'aclocal-1.15' is missing on your system.
         You should only need it if you modified 'acinclude.m4' or
         'configure.ac' or m4 files included by 'configure.ac'.
         The 'aclocal' program is part of the GNU Automake package:
         <http://www.gnu.org/software/automake>
         It also requires GNU Autoconf, GNU m4 and Perl in order to run:
         <http://www.gnu.org/software/autoconf>
         <http://www.gnu.org/software/m4/>
         <http://www.perl.org/>
make: *** [aclocal.m4] Error 127

先执行

autoreconf -ivf   

然后再make,问题就解约了。

参考:

csdn博客 在CentOS 7和Ubuntu 14.03上安装Build Essentials

Licensed under CC BY-NC-SA 4.0
最后更新于 2024-05-06 22:57 UTC
 赣ICP备18015110号-1   
使用 Hugo 构建 主题 StackJimmy 设计