Can't exec "aclocal": No such file or directory at /usr/share/autoconf/Autom4te/FileUtils.pm line 32
[root@localhost libsodium-1.0.1]# sh autogen.sh
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal -I m4 --output=aclocal.m4t
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
[root@localhost libsodium-1.0.1]# yum install -y automake
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: mirrors.aliyun.com
* extras: mirrors.aliyun.com
* updates: mirrors.aliyun.com
Resolving Dependencies
--> Running transaction check
---> Package automake.noarch 0:1.11.1-4.el6 will be installed
--> Processing Dependency: autoconf >= 2.62 for package: automake-1.11.1-4.el6.noarch
--> Running transaction check
---> Package autoconf.noarch 0:2.63-5.1.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
======================================================================================================================================================================================
Package Arch Version Repository Size
======================================================================================================================================================================================
Installing:
automake noarch 1.11.1-4.el6 base 550 k
Installing for dependencies:
autoconf noarch 2.63-5.1.el6 base 781 k
Transaction Summary
======================================================================================================================================================================================
Install 2 Package(s)
Total download size: 1.3 M
Installed size: 3.9 M
Downloading Packages:
(1/2): autoconf-2.63-5.1.el6.noarch.rpm | 781 kB 00:00
(2/2): automake-1.11.1-4.el6.noarch.rpm | 550 kB 00:00
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 3.4 MB/s | 1.3 MB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : autoconf-2.63-5.1.el6.noarch 1/2
Installing : automake-1.11.1-4.el6.noarch 2/2
Verifying : autoconf-2.63-5.1.el6.noarch 1/2
Verifying : automake-1.11.1-4.el6.noarch 2/2
Installed:
automake.noarch 0:1.11.1-4.el6
Dependency Installed:
autoconf.noarch 0:2.63-5.1.el6
Complete!
[root@localhost libsodium-1.0.1]# sh autogen.sh
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
configure.ac:1: error: Autoconf version 2.65 or higher is required
configure.ac:1: the top level
autom4te: /usr/bin/m4 failed with exit status: 63
aclocal: autom4te failed with exit status: 63
autoreconf: aclocal failed with exit status: 63