PDA

View Full Version : Grub installation error



Okda
03-06-2007, 02:59 AM
Hi all

while i was installing Gentoo on my PC using the 64bit livecd and likewhoa's guide i got this error when installing grub



checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/sys-boot/grub-0.97-r3/work/grub-0.97/config.log

!!! ERROR: sys-boot/grub-0.97-r3 failed.
Call stack:
ebuild.sh, line 1614: Called dyn_compile
ebuild.sh, line 971: Called qa_call 'src_compile'
environment, line 3749: Called src_compile
grub-0.97-r3.ebuild, line 85: Called econf '--libdir=/lib' '--datadir=/usr/lib/grub' '--exec-prefix=/' '--disable-auto-linux-mem-opt'
ebuild.sh, line 577: Called die

!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/log/portage/sys-boot:grub-0.97-r3:20070306-123507.log'.


how can i fix this problem

thanks in advance


EDIT:
this si the error from the log file



!!! ERROR: sys-boot/grub-0.97-r3 failed.
Call stack:
ebuild.sh, line 1614: Called dyn_compile
ebuild.sh, line 971: Called qa_call 'src_compile'
environment, line 3749: Called src_compile
grub-0.97-r3.ebuild, line 85: Called econf '--libdir=/lib' '--datadir=/usr/lib/grub' '--exec-prefix=/' '--disable-auto-linux-mem-opt'
ebuild.sh, line 577: Called die

SlicerSV
03-06-2007, 08:57 AM
you followed his guide exactly? cause it looks like your gcc isn't compiled correctly.

Okda
03-06-2007, 09:14 AM
AFAIK yes i did, and specially since compiling every other pkg works with no errors

SlicerSV
03-06-2007, 09:21 AM
then it's gotta be a bug in the ebuild... hrm. since you posted on gentoo forums expect there to be a new grub ebuild for amd64 coming out soon ;)