linux 编译 'aclocal-1.14' is missing on your system

来源:互联网 发布:网络文化节上的讲话 编辑:程序博客网 时间:2024/05/21 09:00

centos编译出现:类似情况:

     $tar -xvf libpcap-1.0.0.tar.gz  
    $cd libpcap-1.0.0.tar.gz  
    $./configure  
    $make  
    $sudo make install  
5.'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/>

 

解决Ubuntun 12.04编译Mesa10.3 WARNING: 'aclocal-1.14' is missing on your system

  1. 执行如下命令:

test@test:/usr/local/src/Mesa-10.3.5$sudo autoreconf -ivf         就是这一句解决了问题

注意:这条语句是在源文件目录(Mesa-10.3.5)下执行,否则会找不到文件。


今天执行:autoreconf -fvi的时候出现如下错误:
autoreconf: Entering directory `.'
autoreconf: configure.in: not using Gettext
autoreconf: running: aclocal  --output=aclocal.m4t
Can't exec "aclocal": No such file or directory at /usr/local/share/autoconf/Autom4te/FileUtils.pm line 326.

网上搜了一下,中文答案多不靠谱,英文还好,有一篇可以解决:
`aclocal' is part of automake package, try to  install it first.
所以,下载了automake之后,编译、安装,在执行就正常了

阅读全文
0 0
原创粉丝点击