2016-02-05 33 views
0

我想安装aclocal会-I M4在Ubuntu 14.04当我运行呈现如何安装aclocal会在ubuntu14.04

Unable to locate package aclocal

首先安装

sudo apt-get install autotools-dev

然后命令其,

sudo apt-get install aclocal

同样的错误也越来越多。

回答

0

从源码安装,避免了将来编译其他软件的麻烦。 aclocal包不存在,它是automake

命令和apt-get安装的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 
0

我需要安装以下所有软件包才能运行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. 
相关问题