首页 > 代码库 > 安装zabbix,make的时候报错

安装zabbix,make的时候报错

CDPATH="${ZSH_VERSION+.}:" && cd /install/Mesa-10.3.5 && /bin/bash /install/Mesa-10.3.5/bin/missing aclocal-1.14 -I m4

/install/Mesa-10.3.5/bin/missing: line 81: aclocal-1.14: command not found

WARNING: aclocal-1.14 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/>

make: *** [/install/Mesa-10.3.5/aclocal.m4] Error 127

很自然的就想到按提示去装那几个autotools,就如这里建议的:http://stackoverflow.com/questions/24233721/build-m4-autoconf-automake-libtool-on-unix

You do not need to install the autotools. Most likely, the problem is caused by a timestamp skew and some files in the pcre tarball have been unpacked with incorrect timestamps. (This often happens if you unpack the tarball on a network drive.)Trying to recreate the configure script using the autotools is not the simplest solution.

 

解决方法如下:

  1. 用Synaptic Package Manager搜索安装这些库(显然有些是重复的,当时不清楚用哪个索性全添加了):

   autotools-dev

   automake

   autoconf2.13

   m4

   perl

   libperl5.14

 

  1. 执行如下命令:test@test:/usr/local/src/Mesa-10.3.5# autoreconf -ivf         就是这一句解决了问题

 

安装zabbix,make的时候报错