我在 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
,没找到,设置PERL
在 config.make
至 no
.
要解决此问题,您需要安装 perl
在你可以运行之前 make check
.
关于linux - LFS 7.2 : Hundreds of errors in glibc make check,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30517832/