linux - LFS 7.2 : Hundreds of errors in glibc make check

标签 linux makefile glibc linux-from-scratch

我在 Section 6.9 LFS 书的。本节之前的一切似乎都很好。

当我运行 make check 时,我遇到了很多错误。可以找到我的 make check 运行的更长记录 here on Pastebin .

Summary of test results:
    865 FAIL
   1308 PASS
    202 XFAIL
Makefile:321: recipe for target 'tests' failed
make[1]: *** [tests] Error 1
make[1]: Leaving directory '/sources/glibc-2.21'
Makefile:9: recipe for target 'check' failed
make: *** [check] Error 2

我想知道,如果查看成绩单,任何人都可以推断出我做错了一些明显的事情。我想我是逐字逐句地看书的,但我可能错过了一些东西。

最佳答案

很可能 GLIBC make check期望存在一些基本命令,但您的 LFS 中缺少该命令系统。

我刚刚检查了我的 GLIBC 构建,以及所有 conform测试使用 /usr/bin/perl .

conform/XPG4/locale.h/linknamespace.out 中查找错误.这个问题可能很明显。

/bin/sh: line 2: no: command not found

所以很可能 configure寻找 perl ,没找到,设置PERLconfig.makeno .

要解决此问题,您需要安装 perl在你可以运行之前 make check .

关于linux - LFS 7.2 : Hundreds of errors in glibc make check,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30517832/

相关文章:

linux - Bash 无法更改文件内容

makefile - Makefile 未执行多个目标

c++ - 带有 LD_PRELOAD 和 boost::interprocess 的 mmap() 不起作用

linux - 制作 : glib-compile-resources: Command not found

c - makefile(可执行文件)错误

linux - 谁生成核心转储文件?内核还是 glibc?

Android Studio, "Adb connection Error:EOF"在带有 Nexus 和 2013 的 Linux Mint 上

linux - 为所有内核模块添加对符号的支持

linux - 以单进程模式启动apache2

Makefile:6: *** 缺少分隔符。停止