Yes, the Host System Requirements are all met, following are the output: """ root@vm-svr:~# bash version-check.sh bash version-check.sh bash, version 4.3.11(1)-release /bin/sh -> /bin/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 4.8.2-19ubuntu1) 4.8.2 g++ (Ubuntu 4.8.2-19ubuntu1) 4.8.2 (Ubuntu EGLIBC 2.19-0ubuntu6.6) 2.19 grep (GNU grep) 2.16 gzip 1.6 Linux version 3.13.0-32-generic (buildd@kissel) (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) ) #57-Ubuntu SMP Tue Jul 15 03:51:08 UTC 2014 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 makeinfo (GNU texinfo) 5.2 xz (XZ Utils) 5.1.0alpha g++ compilation OK
root@vm-svr:~# bash library-check.sh bash library-check.sh libgmp.la: not found libmpfr.la: not found libmpc.la: not found """ another thing to note is the configure command contains "--with-gxx-include-dir=/tools/$LFS_TGT/include/c++/5.2.0", however on my system there is no such directory: """ lfs@vm-svr:~$ echo $LFS_TGT x86_64-lfs-linux-gnu lfs@vm-svr:~$ ls -l /tools/$LFS_TGT/ total 8 drwxr-xr-x 2 lfs lfs 4096 Oct 11 15:44 bin drwxr-xr-x 3 lfs lfs 4096 Oct 11 15:44 lib """ On Sun, Oct 11, 2015 at 8:19 PM, Bruce Dubbs <[email protected]> wrote: > Jun Hu wrote: > >> Hi, >> I got following errors when using the configure command in 5.8: >> My host system is Ubuntu 14.04 x86_64 >> >> " >> ... >> configure: WARNING: stdbool.h: present but cannot be compiled >> configure: WARNING: stdbool.h: check for missing prerequisite headers? >> configure: WARNING: stdbool.h: see the Autoconf documentation >> configure: WARNING: stdbool.h: section "Present But Cannot Be >> Compiled" >> configure: WARNING: stdbool.h: proceeding with the compiler's result >> checking for stdbool.h... no >> checking stdalign.h usability... no >> checking stdalign.h presence... yes >> configure: WARNING: stdalign.h: present but cannot be compiled >> configure: WARNING: stdalign.h: check for missing prerequisite >> headers? >> configure: WARNING: stdalign.h: see the Autoconf documentation >> configure: WARNING: stdalign.h: section "Present But Cannot Be >> Compiled" >> configure: WARNING: stdalign.h: proceeding with the compiler's result >> checking for stdalign.h... no >> checking for the value of EOF... configure: error: computing EOF failed >> " >> all the previous steps are successful, include dummy.c test in step 5.7: >> " >> lfs@vm-svr:/mnt/LFS/sources/gcc-build$ echo 'int main(){}' > dummy.c >> lfs@vm-svr:/mnt/LFS/sources/gcc-build$ $LFS_TGT-gcc dummy.c >> lfs@vm-svr:/mnt/LFS/sources/gcc-build$ readelf -l a.out | grep ': /tools' >> [Requesting program interpreter: /tools/lib64/ld-linux-x86-64.so.2] >> " >> I searched around, and found there was an email thread >> < >> http://archive.linuxfromscratch.org/mail-archives/lfs-support/2014-May/046941.html >> > >> about same problem last year, however there was no solution in that >> thread and it seems OP's situation is a bit different from mine (the >> dummy.c test failed in his case) >> >> any idea what might be wrong in my case? >> > > Did you ensure all the host requirements were met? See Section vii, Host > System Requirements in the Preface. > > -- Bruce > > -- > 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 >
-- 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
