您的位置:首页 > 运维架构 > Linux

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

2017-09-27 17:42 1141 查看
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

执行如下命令:

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之后,编译、安装,在执行就正常了
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐