编译安装报错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

要回复问题请先登录注册