Re: [lfs-support] LFS Problem Section 5.4 Version 7.2
Thanks for the help! I failed to realize the dash/bash difference. I assumed mint uses bash -_-' oops. and i'll get on to installing texinfo as well. Thanks! From: Ken Moffat To: LFS Support List Sent: Monday, November 5, 2012 11:15 PM Subject: Re: [lfs-support] LFS Problem Section 5.4 Version 7.2 On Mon, Nov 05, 2012 at 07:33:06PM -0800, Mark Mark wrote: > Hi there! > > When I try to prepare Binutils for configuration on the first pass (section > 5.4.1) I get this strange error that prohibits me from making it later Please don't number the lines or insert a tab in front of them - it wastes space. It's perfectly acceptable to paste a block of lines, which will be easier for you if you are using a mouse. > > 13. configure: error: C compiler cannot create executables > 14. See `config.log' for more details. > > I got the config.log file, however all I saw was gcc a gcc problem. I was going to point out that if configure reports the C compiler cannot create executables (on a linux system) it seems pretty likely that gcc is involved, and I was going to ask for details of the error message immediately before this when configure tried to compile the code fragment and failed. But on balance I think you have answered this below. > I also did the bash version check > > 3. bash, version 4.2.24(1)-release > 4. /bin/sh -> /bin/dash /bin/sh should be symlinked to /bin/bash : dash is unlikely to be good enough. > 25. version-check.sh: line 30: makeinfo: command not found > 26. Texinfo: That doesn't look like a useful version of texinfo, does it ? > 27. xz (XZ Utils) 5.1.0alpha > 28. gcc: error trying to exec 'cc1': execvp: No such file or directory > 29. gcc compilation failed > You appear to be missing 'cc1'. apt-get install build-essential. $DEITY knows why ubuntu package things like this (a compiler, but not able to compile!). ĸen -- das eine Mal als Tragödie, das andere Mal als Farce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page-- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
[lfs-support] LFS Problem Section 5.4 Version 7.2
Hi there! When I try to prepare Binutils for configuration on the first pass (section 5.4.1) I get this strange error that prohibits me from making it later 1. lfs@mint /mnt/lfs/sources/binutils-2.22 $ ../binutils-2.22/configure --prefix=/tools --with-sysroot=$LFS --with-lib-path=/tools/lib --target=$LFS_TGT --disable-nls --disable-werror 2. checking build system type... i686-pc-linux-gnu 3. checking host system type... i686-pc-linux-gnu 4. checking target system type... i686-pc-linux-gnu 5. checking for a BSD-compatible install... /usr/bin/install -c 6. checking whether ln works... yes 7. checking whether ln -s works... yes 8. checking for a sed that does not truncate output... /bin/sed 9. checking for gawk... gawk 10. checking for gcc... gcc 11. checking for C compiler default output file name... 12. configure: error: in `/mnt/lfs/sources/binutils-2.22': 13. configure: error: C compiler cannot create executables 14. See `config.log' for more details. I got the config.log file, however all I saw was gcc a gcc problem. I also did the bash version check 1. 2. lfs@mint /mnt/lfs/sources/binutils-build $ bash version-check.sh 3. bash, version 4.2.24(1)-release 4. /bin/sh -> /bin/dash 5. Binutils: (GNU Binutils for Ubuntu) 2.22 6. bison (GNU Bison) 2.5 7. /usr/bin/yacc -> /usr/bin/bison.yacc 8. bzip2, Version 1.0.6, 6-Sept-2010. 9. Coreutils: 8.13 10. diff (GNU diffutils) 3.2 11. find (GNU findutils) 4.4.2 12. GNU Awk 3.1.8 13. /usr/bin/awk -> /usr/bin/gawk 14. gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3 15. (Ubuntu EGLIBC 2.15-0ubuntu10.3) 2.15 16. grep (GNU grep) 2.10 17. gzip 1.4 18. Linux version 3.2.0-23-generic (buildd@palmer) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu4) ) #36-Ubuntu SMP Tue Apr 10 20:41:14 UTC 2012 19. m4 (GNU M4) 1.4.16 20. GNU Make 3.81 21. patch 2.6.1 22. Perl version='5.14.2'; 23. GNU sed version 4.2.1 24. tar (GNU tar) 1.26 25. version-check.sh: line 30: makeinfo: command not found 26. Texinfo: 27. xz (XZ Utils) 5.1.0alpha 28. gcc: error trying to exec 'cc1': execvp: No such file or directory 29. gcc compilation failed It seems to be a gcc problem, however, it is installed. I am using Mint 13 Cinnamon as my host computer. Any ideas as to what I need to do to fix this problem? Thanks-- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page