autoreconf: failed to run aclocal: No such file or directory 问题解决
源码安装 zabbix 报错的这个错
百度执行了
autoreconf -ivf
然后就报这个错了
解决办法:
┌──[root@web1]-[~/zabbix-3.4.4] └─$ yum install automake Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile Resolving Dependencies --> Running transaction check ---> Package automake.noarch 0:1.13.4-3.el7 will be installed --> Processing Dependency: perl(Thread::Queue) for package: automake-1.13.4-3.el7.noarch --> Processing Dependency: perl(TAP::Parser) for package: automake-1.13.4-3.el7.noarch --> Running transaction check ---> Package perl-Test-Harness.noarch 0:3.28-3.el7 will be installed ---> Package perl-Thread-Queue.noarch 0:3.02-2.el7 will be installed --> Finished Dependency Resolution Dependencies Resolved =================================================================== Package Arch Version Repository Size =================================================================== Installing: automake noarch 1.13.4-3.el7 base 679 k Installing for dependencies: perl-Test-Harness noarch 3.28-3.el7 base 302 k perl-Thread-Queue noarch 3.02-2.el7 base 17 k Transaction Summary =================================================================== Install 1 Package (+2 Dependent packages) Total download size: 998 k Installed size: 2.3 M Is this ok [y/d/N]: y Downloading packages: (1/3): automake-1.13.4-3.el7.noarch.rpm | 679 kB 00:00 (2/3): perl-Test-Harness-3.28-3.el7.noarch.rp | 302 kB 00:00 (3/3): perl-Thread-Queue-3.02-2.el7.noarch.rp | 17 kB 00:00 ------------------------------------------------------------------- Total 1.9 MB/s | 998 kB 00:00 Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : perl-Thread-Queue-3.02-2.el7.noarch 1/3 Installing : perl-Test-Harness-3.28-3.el7.noarch 2/3 Installing : automake-1.13.4-3.el7.noarch 3/3 Verifying : perl-Test-Harness-3.28-3.el7.noarch 1/3 Verifying : perl-Thread-Queue-3.02-2.el7.noarch 2/3 Verifying : automake-1.13.4-3.el7.noarch 3/3 Installed: automake.noarch 0:1.13.4-3.el7 Dependency Installed: perl-Test-Harness.noarch 0:3.28-3.el7 perl-Thread-Queue.noarch 0:3.02-2.el7 Complete! ┌──[root@web1]-[~/zabbix-3.4.4]
然后可以了
加油,愿被这世界温柔以待 ^_^