Linux有问必答:如何修复“运行aclocal失败:没有该文件或目录”

作者:佚名 上传时间:2019-04-10 版权申诉

Linux有问必答:如何修复“运行aclocal失败:没有该文件或目录”

问题 :我试着在Linux上构建一个程序,该程序的开发版本是使用“autogen.sh”脚本进行的。当我运行它来创建配置脚本时,却发生了下面的错误:


   
  1. Can 't exec "aclocal": No such file or directory at /usr/share/autoconf/Autom4te/FileUtils.pm line 326.
  2. autoreconf: failed to run aclocal: No such file or directory

我怎样才能修复这个程序?

开发版本常常是通过autogen.sh使用程序源代码生成的,构建过程包括验证程序功能和生成配置脚本。autogen.sh脚本依赖于autoreconf来调用autoconf,automake,aclocal和其它相关工具。

丢失的aclocal是automake包的一部分,因此,要修复该错误,请安装以下包。

在Debian,Ubuntu或Linux Mint上:


  
  1. $ sudo apt-get install automake

在CentOS,Fedora或RHEL上:


  
  1. $ sudo yum install automake

原文发布时间:2014-09-23

本文来自云栖合作伙伴“linux中国”

免责申明:文章和图片全部来源于公开网络,如有侵权,请通知删除 server@dude6.com

用户评论
相关推荐
Linux:aclocal
Linux有问必答:如何修复“运行aclocal失败:没有该文件或目录” 问题 :我试着在Linux上构建一个程序,该程序的开发版
Linux“ImportError: No module named scapy.all”
Linux有问必答:如何修复“ImportError: No module named scapy.all” 问题 :当我运行一个
Linux“ImportError: No module named wxversion”错误
问题 我试着在[某某 Linux 发行版]上运行一个 Python 应用,但是我得到了这个错误“ImportError: No module named wx
Linux“sshd error: could not load host key”
Linux有问必答:如何修复“sshd error: could not load host key” 问题 :当我尝试SSH到一
Linux “hda-duplex not supported in this QEMU binary”
Linux 有问必答:如何修复“hda-duplex not supported in this QEMU binary” 提问
Linux在CentOSRHEL 7上改主机名
Linux有问必答:如何在CentOS或RHEL 7上修改主机名 问题:在CentOS/RHEL 7上修改主机名的正确方法是什么(永久或临时)?
LinuxLinux命令中刻ISONRG镜像到DVD
Linux有问必答:如何在Linux命令行中刻录ISO或NRG镜像到DVD 问题 :我需要在Linux机器上使用DVD刻录机刻录一
Linux扩展XFS系统
Linux有问必答:如何扩展XFS文件系统 问题 :我的磁盘上有额外的空间,所以我想要扩展其上创建的现存的XFS文件系统,以完全使
Mercurial报错:abort: 找到
这个错误通常是由于Mercurial无法找到指定的文件或目录而引起的。首先,请确保你输入的文件或目录路径是正确的,包括大小写。Mercurial对路径的大小写敏感,因此路径必须精确匹配。如果路径正确,
Mercurial 2.0+
Mercurial
2023-11-24 13:50
Linux:Chrome的"Your profile could not be opened correctly"
Linux有问必答:如何修复Chrome的"Your profile could not be opened correctly" 提问