その2からの続き
5.15. Ncurses-5.9
1 2 3 4 5 6 |
$ cd /mnt/lfs/sources/ $ tar xfvz ncurses-5.9.tar.gz $ cd ncurses-5.9/ $ ./configure --prefix=/tools --with-shared --without-debug --without-ada --enable-overwrite $ make $ make install |
5.16. Bash-4.2
1 2 3 4 5 6 7 8 9 |
$ cd /mnt/lfs/sources/ $ tar xfvz bash-4.2.tar.gz $ cd bash-4.2 $ patch -Np1 -i ../bash-4.2-fixes-4.patch $ ./configure --prefix=/tools --without-bash-malloc $ make yacc -d ./parse.y make: yacc: Command not found make: *** [y.tab.c] Error 127 |
bisonをインストールして再トライ
1 2 3 |
$ make $ make install $ ln -vs bash /tools/bin/sh |
5.17. Bzip2-1.0.6
1 2 3 4 5 |
$ cd /mnt/lfs/sources/ $ tar xfvz bzip2-1.0.6.tar.gz $ cd bzip2-1.0.6 $ make $ make PREFIX=/tools install |
5.18. Coreutils-8.15
1 2 3 4 5 6 7 8 |
$ cd /mnt/lfs/sources/ $ tar xfvJ coreutils-8.15.tar.xz $ cd coreutils-8.15 $ ./configure --prefix=/tools --enable-install-program=hostname $ make $ make RUN_EXPENSIVE_TESTS=yes check $ make install $ cp -v src/su /tools/bin/su-tools |
5.19. Diffutils-3.2
1 2 3 4 5 6 7 |
313 cd /mnt/lfs/sources/ 314 tar xfvz diffutils-3.2.tar.gz 315 cd diffutils-3.2 316 ./configure --prefix=/tools 317 make 318 make check 319 make install |
5.20. File-5.10
1 2 3 4 5 6 7 |
321 cd /mnt/lfs/sources/ 322 tar xfvz file-5.10.tar.gz 323 cd file-5.10 324 ./configure --prefix=/tools 325 make 326 make check 327 make install |
5.21. Findutils-4.4.2
1 2 3 4 5 6 7 |
329 cd /mnt/lfs/sources/ 330 tar xfvz findutils-4.4.2.tar.gz 331 cd findutils-4.4.2 332 ./configure --prefix=/tools 333 make 334 make check 335 make install |
5.22. Gawk-4.0.0
1 2 3 4 5 6 7 8 9 10 11 |
tar xfvj gawk-4.0.0.tar.bz2 339 cd gawk-4.0.0 340 ./configure --prefix=/tools 341 make ./mbfw1.ok _mbfw1 differ: char 6, line 2 make[1]: [mbfw1] Error 1 (ignored) mbprintf1 ./mbprintf1.ok _mbprintf1 differ: char 17, line 2 make[1]: [mbprintf1] Error 1 (ignored) 342 make check 346 make install |
5.23.1. Installation of Gettext
1 2 3 4 5 6 7 8 |
348 cd /mnt/lfs/sources/ 349 tar xfvz gettext-0.18.1.1.tar.gz 350 cd gettext-0.18.1.1 351 cd gettext-tools/ 352 ./configure --prefix=/tools --disable-shared 353 make -C gnulib-lib 354 make -C src msgfmt 355 cp -v src/msgfmt /tools/bin |
5.24. Grep-2.10
1 2 3 4 5 6 7 |
357 cd /mnt/lfs/sources/ 358 tar xfvJ grep-2.10.tar.xz 359 cd grep-2.10 360 ./configure --prefix=/tools --disable-perl-regexp 361 make 362 make check 363 make install |
5.25. Gzip-1.4
1 2 3 4 5 6 7 |
365 cd /mnt/lfs/sources/ 366 tar xfvz gzip-1.4.tar.gz 367 cd gzip-1.4 368 ./configure --prefix=/tools 369 make 370 make check 371 make install |
5.26. M4-1.4.16
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 |
373 cd /mnt/lfs/sources/ 374 tar xfvj m4-1.4.16.tar.bz2 375 cd m4-1.4.16 376 ./configure --prefix=/tools 377 make 378 make check PASS: test-quotearg-simple PASS: test-rawmemchr /bin/bash: line 1: 13086 Aborted EXEEXT='' srcdir='.' LOCALE_FR='none' LOCALE_FR_UTF8='none' LIBSIGSEGV='' LOCALE_FR='none' LOCALE_TR_UTF8='none' LOCALE_FR='none' LOCALE_FR_UTF8='none' LOCALE_JA='none' LOCALE_ZH_CN='none' LOCALE_FR_UTF8='none' LOCALE_FR='none' LOCALE_FR_UTF8='none' LOCALE_FR='none' LOCALE_FR_UTF8='none' LOCALE_JA='none' LOCALE_ZH_CN='none' abs_aux_dir='/mnt/lfs/sources/m4-1.4.16/build-aux' abs_aux_dir='/mnt/lfs/sources/m4-1.4.16/build-aux' MAKE='make' LOCALE_FR='none' LOCALE_FR_UTF8='none' LOCALE_JA='none' LOCALE_ZH_CN='none' "$tst" > test-readlink.log-t 2>&1 FAIL: test-readlink PASS: test-rename PASS: test-rmdir PASS: test-sched PASS: test-setenv SKIP: test-setlocale1.sh PASS: test-setlocale2.sh PASS: test-sigaction PASS: test-signal PASS: test-signbit PASS: test-snprintf PASS: test-spawn-pipe.sh PASS: test-spawn PASS: test-stat PASS: test-stdbool PASS: test-stddef PASS: test-stdint PASS: test-stdio PASS: test-stdlib PASS: test-strchrnul PASS: test-strerror PASS: test-string PASS: test-strnlen PASS: test-strsignal PASS: test-strstr PASS: test-strtod PASS: test-symlink PASS: test-sys_stat PASS: test-sys_time PASS: test-sys_wait PASS: test-time PASS: test-dup-safer PASS: test-unistd PASS: test-unsetenv PASS: test-update-copyright.sh PASS: test-vasnprintf PASS: test-vasprintf-posix PASS: test-vasprintf SKIP: test-vc-list-files-git.sh SKIP: test-vc-list-files-cvs.sh PASS: test-verify PASS: test-verify.sh PASS: test-version-etc.sh PASS: test-wchar PASS: test-wcrtomb.sh SKIP: test-wcrtomb-w32-1.sh SKIP: test-wcrtomb-w32-2.sh SKIP: test-wcrtomb-w32-3.sh SKIP: test-wcrtomb-w32-4.sh SKIP: test-wcrtomb-w32-5.sh PASS: test-wctype-h PASS: test-xalloc-die.sh PASS: test-xvasprintf =============================== 1 of 109 tests failed (21 tests were not run) See tests/test-suite.log Please report to bug-m4@gnu.org =============================== make[6]: *** [test-suite.log] Error 1 make[6]: Leaving directory `/mnt/lfs/sources/m4-1.4.16/tests' make[5]: *** [check-TESTS] Error 2 make[5]: Leaving directory `/mnt/lfs/sources/m4-1.4.16/tests' make[4]: *** [check-am] Error 2 make[4]: Leaving directory `/mnt/lfs/sources/m4-1.4.16/tests' 379 make install |
5.27. Make-3.82
1 2 3 4 5 6 7 |
381 cd /mnt/lfs/sources/ 382 tar xfvj make-3.82.tar.bz2 383 cd make-3.82 384 ./configure --prefix=/tools 385 make 386 make check 387 make install |
5.28. Patch-2.6.1
1 2 3 4 5 6 7 |
389 cd /mnt/lfs/sources/ 390 tar xfvj patch-2.6.1.tar.bz2 391 cd patch-2.6.1 392 ./configure --prefix=/tools 393 make 394 make check 395 make install |
5.29. Perl-5.14.2
1 2 3 4 5 6 7 8 9 |
389 cd /mnt/lfs/sources/ 398 tar xfvj perl-5.14.2.tar.bz2 399 cd perl-5.14.2 400 patch -Np1 -i ../perl-5.14.2-libc-1.patch 401 sh Configure -des -Dprefix=/tools 402 make 403 cp -v perl cpan/podlators/pod2man /tools/bin 404 mkdir -pv /tools/lib/perl5/5.14.2 405 cp -Rv lib/* /tools/lib/perl5/5.14.2 |
5.30. Sed-4.2.1
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 |
407 cd /mnt/lfs/sources/ 408 tar xfvj sed-4.2.1.tar.bz2 409 cd sed-4.2.1 410 ./configure --prefix=/tools 411 make 412 make check XFAIL: utf8-2 make[3]: Entering directory `/mnt/lfs/sources/sed-4.2.1/testsuite' echo "LANG=ru_RU.UTF-8" \ " ../sed/sed -f ./utf8-3.sed" \ "< ./utf8-3.inp | LC_ALL=C tr -d \\r > utf8-3.out"; \ LANG=ru_RU.UTF-8 \ ../sed/sed -f ./utf8-3.sed \ < ./utf8-3.inp | LC_ALL=C tr -d \\r > utf8-3.out; \ cmp ./utf8-3.good utf8-3.out && exit 0; \ cmp ./utf8-3.inp utf8-3.out || exit 1; \ locale > utf8-3.info 2>/dev/null || { rm utf8-3.info; :>utf8-3.skip; exit 77; }; \ . utf8-3.info; rm utf8-3.info; \ case "$LC_CTYPE" in \ *UTF-8 | *UTF8 | *utf8 | *utf-8) \ echo " ../sed/sed -f ./utf8-3.sed" \ " < ./utf8-3.inp | LC_ALL=C tr -d \\r > utf8-3.out"; \ ../sed/sed -f ./utf8-3.sed \ < ./utf8-3.inp | LC_ALL=C tr -d \\r > utf8-3.out; \ cmp ./utf8-3.good utf8-3.out && exit 0; \ cmp ./utf8-3.inp utf8-3.out || exit 1 ;; \ *) ;; \ esac; \ :>utf8-3.skip; exit 77 > utf8-3.outF-8 ../sed/sed -f ./utf8-3.sed < ./utf8-3.inp | LC_ALL=C tr -d ./utf8-3.good utf8-3.out differ: char 1, line 1 ./utf8-3.inp utf8-3.out differ: char 1, line 1 make[3]: *** [utf8-3] Error 1 make[3]: Leaving directory `/mnt/lfs/sources/sed-4.2.1/testsuite' XFAIL: utf8-3 make[3]: Entering directory `/mnt/lfs/sources/sed-4.2.1/testsuite' echo "LANG=ru_RU.UTF-8" \ " ../sed/sed -f ./utf8-4.sed" \ "< ./utf8-4.inp | LC_ALL=C tr -d \\r > utf8-4.out"; \ LANG=ru_RU.UTF-8 \ ../sed/sed -f ./utf8-4.sed \ < ./utf8-4.inp | LC_ALL=C tr -d \\r > utf8-4.out; \ cmp ./utf8-4.good utf8-4.out && exit 0; \ cmp ./utf8-4.inp utf8-4.out || exit 1; \ locale > utf8-4.info 2>/dev/null || { rm utf8-4.info; :>utf8-4.skip; exit 77; }; \ . utf8-4.info; rm utf8-4.info; \ case "$LC_CTYPE" in \ *UTF-8 | *UTF8 | *utf8 | *utf-8) \ echo " ../sed/sed -f ./utf8-4.sed" \ " < ./utf8-4.inp | LC_ALL=C tr -d \\r > utf8-4.out"; \ ../sed/sed -f ./utf8-4.sed \ < ./utf8-4.inp | LC_ALL=C tr -d \\r > utf8-4.out; \ cmp ./utf8-4.good utf8-4.out && exit 0; \ cmp ./utf8-4.inp utf8-4.out || exit 1 ;; \ *) ;; \ esac; \ :>utf8-4.skip; exit 77 > utf8-4.outF-8 ../sed/sed -f ./utf8-4.sed < ./utf8-4.inp | LC_ALL=C tr -d ./utf8-4.good utf8-4.out differ: char 1, line 1 ./utf8-4.inp utf8-4.out differ: char 1, line 1 make[3]: *** [utf8-4] Error 1 make[3]: Leaving directory `/mnt/lfs/sources/sed-4.2.1/testsuite' XFAIL: utf8-4 PASS: badenc PASS: inplace-hold PASS: brackets PASS: help PASS: version PASS: file PASS: quiet PASS: factor PASS: binary3 PASS: binary2 PASS: binary PASS: dc ====================================================== All 65 tests behaved as expected (4 expected failures) ====================================================== make[2]: Leaving directory `/mnt/lfs/sources/sed-4.2.1/testsuite' make[1]: Leaving directory `/mnt/lfs/sources/sed-4.2.1/testsuite' make[1]: Entering directory `/mnt/lfs/sources/sed-4.2.1' make[1]: Nothing to be done for `check-am'. make[1]: Leaving directory `/mnt/lfs/sources/sed-4.2.1' 413 make install |
5.31.1. Installation of Tar
make checkで8Gのファイルを作ろうとする。
1 2 3 4 5 6 7 8 |
415 cd /mnt/lfs/sources/ 416 tar xfvj tar-1.26.tar.bz2 417 cd tar-1.26 418 ./configure --prefix=/tools 419 mak 420 make 421 make check 422 make install |
5.32. Texinfo-4.13a
1 2 3 4 5 6 7 |
424 cd /mnt/lfs/sources/ 425 tar xfvz texinfo-4.13a.tar.gz 426 cd texinfo-4.13 427 ./configure --prefix=/tools 428 make 429 make check 430 make install |
5.33. Xz-5.0.3
1 2 3 4 5 6 7 |
432 cd /mnt/lfs/sources/ 433 tar xfvj xz-5.0.3.tar.bz2 434 cd xz-5.0.3 435 ./configure --prefix=/tools 436 make 437 make check 438 make install |