编译安装报错failed to run aclocal: No such file or directory

具体信息:
Can't exec "aclocal": No such file or directory at /usr/share/autoconf/Autom4te/FileUtils.pm line 326.
autoreconf: failed to run aclocal: No such file or directory
已邀请:

空心菜 - 无分享不快乐 助力技术开源分享 运维一枚

赞同来自:

错误1: autoreconf: failed to run aclocal: No such file or directory


解决:
# centos
yum install automake

# ubuntu
sudo apt install automake

错误2:configure.ac:36: error: possibly undefined macro: AC_PROG_LIBTOOL


解决:
# centos
yum install libtool

# ubuntu
sudo apt install libtool

要回复问题请先登录注册