When I try to emerge grub it fails to compile. When it is doing the configuration I get the following error: >>> Compiling source in /var/tmp/portage/sys-boot/grub-0.97-r3/work/grub-0.97 ... * econf: updating grub-0.97/config.guess with /usr/share/gnuconfig/config.guess * econf: updating grub-0.97/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/lib --datadir=/usr/lib/grub --exec-prefix=/ --disable-auto-linux-mem-opt --build=x86_64-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking whether to enable maintainer-specific portions of Makefiles... no checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc 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 1621: Called dyn_compile ebuild.sh, line 973: Called qa_call 'src_compile' ebuild.sh, line 44: 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 578: 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/tmp/portage/sys-boot/grub-0.97-r3/temp/build.log'. Here is my emerge --info Portage 2.1.2.9 (default-linux/amd64/2007.0/no-multilib, gcc-4.1.2, glibc-2.5-r3, 2.6.21-suspend2-r5 x86_64) ================================================================= System uname: 2.6.21-suspend2-r5 x86_64 Intel(R) Core(TM)2 CPU T5500 @ 1.66GHz Gentoo Base System release 1.12.9 Timestamp of tree: Tue, 10 Jul 2007 23:30:01 +0000 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.4.4-r4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.23b virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O3 -march=nocona -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O3 -march=nocona -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="en en_US en_US.ISO-8859-15" LINGUAS="en en_US" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aac acl akode alsa amd64 apache2 arts audio audiofile berkdb bitmap-fonts bzip2 cdr cli cpudetection cracklib crypt cups divx dri dvd dvdr emerald esd firefox flac foomaticdb fortran gdbm gmedia gpm gtk gtk2 iconv idn imlib ipv6 isdnlog java kde lcms libg++ mad midi mmx motif mozilla mozilla-plugin mp3 mudflap nas ncurses nls nptl nptlonly nsplugin offensive ogg opengl openmp pam pcre perl png ppds pppd python qt readline realmedia reflection session sound spl sse sse2 ssl tcpd theora tiff truetype-fonts type1-fonts unicode usb vorbis wmp xcomposite xine xml xorg xscreensaver zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" USERLAND="GNU" VIDEO_CARDS="fbdev i810 vesa vga" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY And here is my make.conf # These settings were set by the catalyst build script that automatically # built this stage. # Please consult /etc/make.conf.example for a more detailed example. CFLAGS="-O3 -march=nocona -pipe -fomit-frame-pointer" CXXFLAGS="${CFLAGS}" # This should not be changed unless you know exactly what you are doing. You # should probably be using a different stage, instead. CHOST="x86_64-pc-linux-gnu" MAKEOPTS="-j3" USE="X gtk -gnome kde qt dvd alsa cdr audio arts akode dvdr -gstreamer xine nsplugin mozilla-plugin esd aac audiofile vorbis ogg sound mp3 nas apache2 xml firefox mozilla unicode xcomposite offensive mmx sse sse2 cpudetection bzip2 tiff idn lcms java xscreensaver real usb ppds -eds nptl nptlonly zeroconf foomaticdb xmms gtk2 imlib motif flac divx gmedia realmedia wmp xmms theora opengl emerald png mad" LINGUAS="en en_US" LANG="en en_US en_US.ISO-8859-15" INPUT_DEVICES="keyboard mouse" VIDEO_CARDS="fbdev i810 vesa vga" Reproducible: Always Steps to Reproduce: 1.emerge grub 2. 3. Actual Results: Configure failed Expected Results: Successful compilation
Created attachment 124595 [details] Build log This is the build.log file
Created attachment 124596 [details] Config log This is the config.log
you cannot compile grub on a non-multilib system -- use grub-static