LFS CoreUtils-8.30 失败,缺少 aclocal-1.15



我有一台标准的Core 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 的引用,但这并没有帮助。

感谢您的任何指导。

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

sudo apt-get install libtool-bin automake makeinfo

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

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

我刚遇到并解决了这个问题,我的解决方案不一定是最好的。这个问题是因为您在 1.15 版中没有"本地"工具,此工具由 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 && make install 2. 安装 automake-1.15

tar -xvf automake-1.15.tar.xz
./configure --prefix=/tools
make && make install然后你可以编译你的coreutils-8.30

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

构建核心时出现此错误是由于缺少自动点引起的。

最新更新