Re: [lfs-support] LFS Problem Section 5.4 Version 7.2
Mark Mark wrote: > Thank you very much for your help! I didn't notice the bash being dash. I'll get on to that. I thought gcc was installed due to the version check > > gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3 > > But I'll definitely try installing it. also, if you don't mind me asking, if mint simply isn't the right host system to use, do you have any suggestions? First of all, don't send support requests directly to me. LFS Support is the proper forum. Second, don't top post. Third, Mint is probably fine if the host requirements are met. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
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
Re: [lfs-support] LFS Problem Section 5.4 Version 7.2
On Mon, Nov 05, 2012 at 10:02:06PM -0600, Bruce Dubbs wrote: > > > 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? > There are enough examples of this on google to suggest that ubuntu mispackaged gcc, or even broke their packaging during gcc-4.4 - it seems to be fairly common that ubuntu users end up with gcc but without cc1 ! ĸ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
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
Re: [lfs-support] LFS Problem Section 5.4 Version 7.2
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@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@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 -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page