首页 > 解决方案 > LFS CoreUtils-8.30 失败,缺少 aclocal-1.15

问题描述

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

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 的引用,但这并没有帮助。

感谢您的任何指导。

标签: linuxlinux-from-scratch

解决方案


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

sudo apt-get install libtool-bin automake makeinfo

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


推荐阅读