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

时间:2019-01-08 23:24:47

标签: linux lfs

我有一个标准的核心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的引用,但这没有帮助。

感谢您的指导。

4 个答案:

答案 0 :(得分:0)

我刚刚遇到并解决了这个问题,我的解决方案不一定是最好的。 这个问题是因为您没有版本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

答案 1 :(得分:0)

检查是否已从gettext安装自动信息。

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

答案 2 :(得分:0)

遇到同样的问题。您需要安装libtool-bin,automake和makeinfo

sudo apt-get install libtool-bin automake makeinfo

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

答案 3 :(得分:0)

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