Pour suivre LFS, vaut mieux un aide mémoire.
Marrant quand y'a une page complete de copier coller.
Ce petit script capilotracté aidera surement :)
wget http://lfs.traduc.org/view/lfs-stable/chapter03/packages.html cat packages.html | grep '"http:' | grep "tar" | awk '{print $1}' | sed 's/["]//' | cut -d'"' -f1 | sed 's/^/wget /'
Récupérer cette liste et vou avez les tar.xx de la page html
wget http://www.linuxfromscratch.org/patches/lfs/7.2/bash-4.2-fixes-8.patch wget http://www.linuxfromscratch.org/patches/lfs/7.2/binutils-2.22-build_fix-1.patch wget http://www.linuxfromscratch.org/patches/lfs/7.2/bzip2-1.0.6-install_docs-1.patch wget http://www.linuxfromscratch.org/patches/lfs/7.2/coreutils-8.19-i18n-1.patch wget http://www.linuxfromscratch.org/patches/lfs/7.2/flex-2.5.37-bison-2.6.1-1.patch wget http://www.linuxfromscratch.org/patches/lfs/7.2/glibc-2.16.0-res_query_fix-1.patch wget http://www.linuxfromscratch.org/patches/lfs/7.2/grub-2.00-256byte_inode-1.patch wget http://www.linuxfromscratch.org/patches/lfs/7.2/kbd-1.15.3-upstream_fixes-1.patch wget http://www.linuxfromscratch.org/patches/lfs/7.2/kbd-1.15.3-backspace-1.patch wget http://www.linuxfromscratch.org/patches/lfs/7.2/kmod-9-testsuite-1.patch wget http://www.linuxfromscratch.org/patches/lfs/7.2/make-3.82-upstream_fixes-2.patch wget http://www.linuxfromscratch.org/patches/lfs/7.2/patch-2.6.1-test_fix-1.patch wget http://www.linuxfromscratch.org/patches/lfs/7.2/perl-5.16.1-libc-2.patch wget http://www.linuxfromscratch.org/patches/lfs/7.2/procps-3.2.8-fix_HZ_errors-1.patch wget http://www.linuxfromscratch.org/patches/lfs/7.2/procps-3.2.8-watch_unicode-1.patch wget http://www.linuxfromscratch.org/patches/lfs/7.2/readline-6.2-fixes-1.patch wget http://www.linuxfromscratch.org/patches/lfs/7.2/sed-4.2.1-testsuite_fixes-1.patch
Visiblement soucis lors du configure.
J'ai ajouté 2 arguments, et ca passe.
../binutils-2.22/configure \ --prefix=/tools \ --with-sysroot=$LFS \ --with-lib-path=/tools/lib \ --target=$LFS_TGT \ --disable-nls \ --disable-werror \ --build=$LFS_TGT \ --host=$LFS_TGT