Em 08-10-2015 07:02, [email protected] escreveu: > 8. Oct 2015 08:38 by [email protected]: > > >> Hello LFS-Supporter: >> My name is Li Pandeng,from chinese.my english is poor.I'm sorry for >> something that i can't express clearly. >> I'm newer to LFS,but is very interested with LFS,so i do build LFS step >> by step following LFS-BOOK-6.6.unfortunatly,i met some difficulties,and it >> took my three days,until now,i don't deal with it.i have poor knowledge >> about Linux,but i really want to handle it.so i am very looking foward your >> reply! >> here is version check list: >> bash, version 4.3.11(1)-release >> /bin/sh -> /bin/dash
This should be /bin/sh -> /bin/Bash To fix that: $ sudo dpkg-reconfigure dash and choose no. You will see: Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash' >> Binutils: (GNU Binutils for Ubuntu) 2.24 >> bison (GNU Bison) 3.0.2 >> /usr/bin/yacc -> /usr/bin/bison.yacc >> bzip2, Version 1.0.6, 6-Sept-2010. >> Coreutils: 8.21 >> diff (GNU diffutils) 3.3 >> find (GNU findutils) 4.4.2 >> GNU Awk 4.0.1 >> /usr/bin/awk -> /usr/bin/gawk >> gcc (Ubuntu/Linaro 4.4.7-8ubuntu1) 4.4.7 >> version-check.sh: line 22: /lib/libc.so.6: No such file or directory This is a problem, too. $ sudo apt-get install build-essential bison gawk texinfo Some of these you may already have. No problem, they will be skipped. Then start with LFS-7.8: $ bash version-check.sh script. See below that I agree with Willie. Notice that there is another script there: bash library-check.sh libgmp.la: not found libmpfr.la: not found libmpc.la: not found If all are found is OK, too. I did these tests with Ubuntu 15.04, but 14.04 should be OK. >> grep (GNU grep) 2.16 >> gzip 1.6 >> Linux version 3.19.0-30-generic (buildd@lgw01-56) (gcc version 4.8.2 >> (Ubuntu 4.8.2-19ubuntu1) ) #33~14.04.1-Ubuntu SMP Tue Sep 22 09:27:00 >> UTC 2015 >> m4 (GNU M4) 1.4.17 >> GNU Make 3.81 >> GNU patch 2.7.1 >> Perl version='5.18.2'; >> sed (GNU sed) 4.2.2 >> tar (GNU tar) 1.27.1 >> Texinfo: makeinfo (GNU texinfo) 5.2 >> Compilation OK > > > > > Not quite sure but you might try version 7.8 of the book. LFS 6.6 is very old > and it's possible some things don't work on a recent Ubuntu distribution. > > --Willie I agree with Willie. -- []s, Fernando, aka SÃsifo -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style
