Amazon web services 如何在ubuntu14.04中安装aclocal

Amazon web services 如何在ubuntu14.04中安装aclocal,amazon-web-services,package,ubuntu-14.04,Amazon Web Services,Package,Ubuntu 14.04,当我运行命令时,我想在ubuntu 14.04中安装aclocal-im4 首次安装 sudo-apt-get-install-autotools-dev 那么 sudo apt get install aclocal 同样的错误也会发生。从源代码处安装它,可以避免将来编译其他软件时遇到的许多麻烦本地程序包不存在,并且是自动生成程序包的一部分 $ sudo apt-get install automake 将安装aclocal 我建议从脚本编译,它将更新到最新版本 #!/bin/bash

当我运行命令时,我想在ubuntu 14.04中安装aclocal-im4

首次安装

sudo-apt-get-install-autotools-dev

那么

sudo apt get install aclocal


同样的错误也会发生。

从源代码处安装它,可以避免将来编译其他软件时遇到的许多麻烦<代码>本地程序包不存在,并且是
自动生成
程序包的一部分

$ sudo apt-get install automake 
将安装
aclocal
我建议从脚本编译,它将更新到最新版本

#!/bin/bash
VERSION=1.15
    wget ftp://ftp.gnu.org/gnu/automake/automake-${VERSION}.tar.gz &> /dev/null
    if [ -f "automake-${VERSION}.tar.gz" ]; then
            tar -xzf automake-${VERSION}.tar.gz
            cd automake-${VERSION}/
            ./configure
            make && make install
            echo -e "\e[1;39m[   \e[1;32mOK\e[39m   ] automake-${VERSION} installed\e[0;39m"

        else
            echo -e "\e[1;39m[   \e[31mError\e[39m   ] cannot fetch file from ftp://ftp.gnu.org/gnu/automake/ \e[0;39m"
            exit 1
fi

我需要安装以下所有软件包才能运行
aclocal

apt install automake
apt install autoconf
apt install m4
apt install perl
apt install libtool

这是我在尝试安装ssdeep时收到的错误消息:

WARNING: 'aclocal-1.13' 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/>
Makefile:426: recipe for target 'aclocal.m4' failed
make: *** [aclocal.m4] Error 127
/bin/sh: 1: libtoolize: not found
/usr/bin/m4:aclocal.m4:1069: cannot open `m4/libtool.m4': No such file or directory
/usr/bin/m4:aclocal.m4:1070: cannot open `m4/ltoptions.m4': No such file or directory
/usr/bin/m4:aclocal.m4:1071: cannot open `m4/ltsugar.m4': No such file or directory
/usr/bin/m4:aclocal.m4:1072: cannot open `m4/ltversion.m4': No such file or directory
/usr/bin/m4:aclocal.m4:1073: cannot open `m4/lt~obsolete.m4': No such file or directory
autom4te: /usr/bin/m4 failed with exit status: 1
automake: error: autoconf failed with exit status: 1
Failed while building ssdeep lib with configure and make.
Retry with autoreconf ...
Failed to reconfigure the project build.
警告:您的系统上缺少“aclocal-1.13”。
只有在修改“acinclude.m4”或
“configure.ac”或“configure.ac”包含的m4文件。
“aclocal”计划是GNU Automake软件包的一部分:
它还需要GNU Autoconf、GNU m4和Perl才能运行:
Makefile:426:目标“aclocal.m4”的配方失败
make:**[aclocal.m4]错误127
/bin/sh:1:libtoolize:未找到
/usr/bin/m4:aclocal.m4:1069:无法打开'm4/libtool.m4':没有这样的文件或目录
/usr/bin/m4:aclocal.m4:1070:无法打开'm4/ltoptions.m4':没有这样的文件或目录
/usr/bin/m4:aclocal.m4:1071:无法打开'm4/ltsugar.m4':没有这样的文件或目录
/usr/bin/m4:aclocal.m4:1072:无法打开'm4/ltversion.m4':没有这样的文件或目录
/usr/bin/m4:aclocal.m4:1073:无法打开'm4/lt~ocated.m4':没有这样的文件或目录
自动M4TE:/usr/bin/m4失败,退出状态:1
自动生成:错误:自动更改失败,退出状态:1
使用configure和make生成ssdeep库时失败。
使用自动恢复重试。。。
无法重新配置项目生成。