[lfs-support] LFS Problem Section 5.4 Version 7.2

Mark Mark shawn555444 at yahoo.com
Mon Nov 5 19:33:06 PST 2012


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 at 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 at 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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-support/attachments/20121105/babd71e1/attachment.html>


More information about the lfs-support mailing list