[lfs-support] LFS Problem Section 5.4 Version 7.2

Bruce Dubbs bruce.dubbs at gmail.com
Mon Nov 5 20:02:06 PST 2012


Mark Mark wrote:

> I got the config.log file, however all I saw was gcc a gcc problem.
> Ialso 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

Needs to be bash

> 	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

Needs the texinfo package

> 	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 appears that gcc is not installed.

> 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?

What makes you think gcc is installed?

I don't know how mint handles packages, but The three above need to be 
installed.  For gcc Google says:

sudo apt-get install gcc g++ autoconf automake bison flex libtool


You probably want to add bash and texinfo to that.

   -- Bruce



More information about the lfs-support mailing list