安装zabbix,make的时候报错

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了安装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. 执行如下命令:[email protected]:/usr/local/src/Mesa-10.3.5# autoreconf -ivf         就是这一句解决了问题

 

以上是关于安装zabbix,make的时候报错的主要内容,如果未能解决你的问题,请参考以下文章

linux 下安装redis报错解决

zabbix6.0安装教程:从源代码安装

zabbix6.0安装教程:从源代码安装

zabbix6.0安装教程:从源代码安装

安装redis时,make命令报错

make && make install报错