I'm (slowly) working my way through the LFS book and everything has been successful up to chapter 6.13.
On executing: make check 2>&1 | tee gmp-check-log I get '9 of 9 tests failed' (gmp-check-log below) It looks like I've either got some missing directories or a problem with sed but that's about as far as my troubleshooting skills take me - any help would be appreciated! What I've already checked: /sources/gmp-5.0.0/tests DOES exist (as does /mnt/lfs/sources/gmp-5.0.0/tests) executing 'sed' gives the normal usage page I don't know if it makes any difference but I'm building on a 64-bit system. Regards, Matt ==== gmp-check-log ==== make check-recursive make[1]: Entering directory `/sources/gmp-5.0.0' Making check in tests make[2]: Entering directory `/sources/gmp-5.0.0/tests' Making check in . make[3]: Entering directory `/sources/gmp-5.0.0/tests' make libtests.la t-bswap t-constants t-count_zeros t-gmpmax t-hightomask t-modlinv t-popc t-parity t-sub make[4]: Entering directory `/sources/gmp-5.0.0/tests' make[4]: `libtests.la' is up to date. make[4]: `t-bswap' is up to date. make[4]: `t-constants' is up to date. make[4]: `t-count_zeros' is up to date. make[4]: `t-gmpmax' is up to date. make[4]: `t-hightomask' is up to date. make[4]: `t-modlinv' is up to date. make[4]: `t-popc' is up to date. make[4]: `t-parity' is up to date. make[4]: `t-sub' is up to date. make[4]: Leaving directory `/sources/gmp-5.0.0/tests' make check-TESTS make[4]: Entering directory `/sources/gmp-5.0.0/tests' ./t-bswap: line 60: /bin/sed: No such file or directory ./t-bswap: line 64: /bin/sed: No such file or directory ./t-bswap: line 88: /bin/sed: No such file or directory ./t-bswap: line 101: cd: /mnt/lfs/sources/gmp-5.0.0/tests: No such file or directory gcc: /mnt/lfs/sources/gmp-5.0.0/.libs/libgmp.so: No such file or directory FAIL: t-bswap ./t-constants: line 60: /bin/sed: No such file or directory ./t-constants: line 64: /bin/sed: No such file or directory ./t-constants: line 88: /bin/sed: No such file or directory ./t-constants: line 101: cd: /mnt/lfs/sources/gmp-5.0.0/tests: No such file or directory gcc: /mnt/lfs/sources/gmp-5.0.0/.libs/libgmp.so: No such file or directory FAIL: t-constants ./t-count_zeros: line 60: /bin/sed: No such file or directory ./t-count_zeros: line 64: /bin/sed: No such file or directory ./t-count_zeros: line 88: /bin/sed: No such file or directory ./t-count_zeros: line 101: cd: /mnt/lfs/sources/gmp-5.0.0/tests: No such file or directory gcc: /mnt/lfs/sources/gmp-5.0.0/.libs/libgmp.so: No such file or directory FAIL: t-count_zeros ./t-gmpmax: line 60: /bin/sed: No such file or directory ./t-gmpmax: line 64: /bin/sed: No such file or directory ./t-gmpmax: line 88: /bin/sed: No such file or directory ./t-gmpmax: line 101: cd: /mnt/lfs/sources/gmp-5.0.0/tests: No such file or directory gcc: /mnt/lfs/sources/gmp-5.0.0/.libs/libgmp.so: No such file or directory FAIL: t-gmpmax ./t-hightomask: line 60: /bin/sed: No such file or directory ./t-hightomask: line 64: /bin/sed: No such file or directory ./t-hightomask: line 88: /bin/sed: No such file or directory ./t-hightomask: line 101: cd: /mnt/lfs/sources/gmp-5.0.0/tests: No such file or directory gcc: /mnt/lfs/sources/gmp-5.0.0/.libs/libgmp.so: No such file or directory FAIL: t-hightomask ./t-modlinv: line 60: /bin/sed: No such file or directory ./t-modlinv: line 64: /bin/sed: No such file or directory ./t-modlinv: line 88: /bin/sed: No such file or directory ./t-modlinv: line 101: cd: /mnt/lfs/sources/gmp-5.0.0/tests: No such file or directory gcc: /mnt/lfs/sources/gmp-5.0.0/.libs/libgmp.so: No such file or directory FAIL: t-modlinv ./t-popc: line 60: /bin/sed: No such file or directory ./t-popc: line 64: /bin/sed: No such file or directory ./t-popc: line 88: /bin/sed: No such file or directory ./t-popc: line 101: cd: /mnt/lfs/sources/gmp-5.0.0/tests: No such file or directory gcc: /mnt/lfs/sources/gmp-5.0.0/.libs/libgmp.so: No such file or directory FAIL: t-popc ./t-parity: line 60: /bin/sed: No such file or directory ./t-parity: line 64: /bin/sed: No such file or directory ./t-parity: line 88: /bin/sed: No such file or directory ./t-parity: line 101: cd: /mnt/lfs/sources/gmp-5.0.0/tests: No such file or directory gcc: /mnt/lfs/sources/gmp-5.0.0/.libs/libgmp.so: No such file or directory FAIL: t-parity ./t-sub: line 60: /bin/sed: No such file or directory ./t-sub: line 64: /bin/sed: No such file or directory ./t-sub: line 88: /bin/sed: No such file or directory ./t-sub: line 101: cd: /mnt/lfs/sources/gmp-5.0.0/tests: No such file or directory gcc: /mnt/lfs/sources/gmp-5.0.0/.libs/libgmp.so: No such file or directory FAIL: t-sub ==================================== 9 of 9 tests failed Please report to gmp-b...@gmplib.org ==================================== make[4]: *** [check-TESTS] Error 1 make[4]: Leaving directory `/sources/gmp-5.0.0/tests' make[3]: *** [check-am] Error 2 make[3]: Leaving directory `/sources/gmp-5.0.0/tests' make[2]: *** [check-recursive] Error 1 make[2]: Leaving directory `/sources/gmp-5.0.0/tests' make[1]: *** [check-recursive] Error 1 make[1]: Leaving directory `/sources/gmp-5.0.0' make: *** [check] Error 2 -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page