【问题标题】:LFS CoreUtils-8.30 fails with aclocal-1.15 missingLFS CoreUtils-8.30 失败,缺少 aclocal-1.15
【发布时间】:2019-01-08 23:24:46
【问题描述】:

我有一台标准的核心 i5 笔记本电脑,我正在尝试制作 LFS(Linux From Scratch),它一切正常(经过几次重试),直到我尝试制作 Coreutils-8.30,当我执行 Make I get :

lfs@robert-HP-EliteBook-8760w:/mnt/lfs/sources/coreutils-8.30$ make
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /mnt/lfs/sources/coreutils-8.30/build-aux/missing aclocal-1.15 -I m4
/mnt/lfs/sources/coreutils-8.30/build-aux/missing: line 81: aclocal-1.15: command not found
WARNING: 'aclocal-1.15' 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/>
Makefile:6034: recipe for target 'aclocal.m4' failed
make: *** [aclocal.m4] Error 127

我在这个问题上四处走动,但我无处可去。我找到了一些对 gettext 的引用,但这没有帮助。

感谢您的指导。

【问题讨论】:

标签: linux linux-from-scratch


【解决方案1】:

刚刚解决了同样的问题。你需要安装libtool-bin、automake和makeinfo

sudo apt-get install libtool-bin automake makeinfo

然后在 mpfr 目录下运行 autoreconf -f -i。之后,您可以运行 ./configure 等。

【讨论】:

    【解决方案2】:

    我刚刚遇到并解决了这个问题,我的解决方案不一定是最好的。 这个问题是因为您没有 1.15 版的“aclocal”工具, 该工具由 automake-1.15 提供,依赖于 autoconf-2.69 或更高版本。 所以我的解决方案是安装 autoconf-2.69 和 automake-1.15:
    1.安装autoconf-2.69
    tar -xvf autoconf-2.69.tar.xz
    ./configure --prefix=/tools
    make &amp;&amp; make install
    2.安装automake-1.15
    tar -xvf automake-1.15.tar.xz
    ./configure --prefix=/tools
    make &amp;&amp; make install
    然后你可以编译你的 coreutils-8.30

    【讨论】:

      【解决方案3】:

      检查 gettext 中的 autoinfo 是否安装正常。

      构建coreutils时出现此错误是由于缺少自动点造成的。

      【讨论】:

        【解决方案4】:

        我在应用下载中提供的 coreutils 补丁时遇到了这个问题。我注意到说明并没有告诉我在这一步应用这个补丁,所以我尝试在没有应用补丁的情况下再次构建并且它有效。

        【讨论】:

          猜你喜欢
          • 2016-01-21
          • 2022-07-05
          • 1970-01-01
          • 1970-01-01
          • 1970-01-01
          • 2019-12-03
          • 2018-04-28
          • 1970-01-01
          • 2020-02-14
          相关资源
          最近更新 更多