On Thu, Nov 19, 2009 at 4:51 PM, Michael Sullivan <msulli1...@gmail.com>wrote:
> I've started seeing this line after failed emerges: > > > > checking for C compiler default output file name... configure: error: C > compiler cannot create executables > > Checking gcc-config returns this: > carter sys-devel # gcc-config -l > * gcc-config: Active gcc profile is invalid! > [1] i686-pc-linux-gnu-4.3.4 > > > When I upgraded gcc to 4.3.4 I runned # gcc-config i686-pc-linux-gnu-4.3.4 # source /etc/profile Maybe it helps you. gcc-config i686-pc-linux-gnu-4.3.4 > How can I get gcc back? Here's some other information on the system: > carter ~ # emerge --info > !!! No gcc found. You probably need to 'source /etc/profile' > !!! to update the environment of this terminal and possibly > !!! other terminals also. > Portage 2.1.6.13 (default/linux/x86/10.0/desktop, [unavailable], > glibc-2.9_p20081201-r2, 2.6.30-gentoo-r4 i686) > ================================================================= > System uname: > > Linux-2.6.30-gentoo-r4-i686-AMD_Athlon-tm-_7550_Dual-Core_Processor-with-gentoo-1.12.13 > Timestamp of tree: Thu, 19 Nov 2009 06:00:01 +0000 > distcc 3.1 i686-pc-linux-gnu [disabled] > app-shells/bash: 4.0_p28 > dev-java/java-config: 2.1.9-r1 > dev-lang/python: 2.6.2-r1 > sys-apps/baselayout: 1.12.13 > sys-apps/sandbox: 1.6-r2 > sys-devel/autoconf: 2.63-r1 > sys-devel/automake: 1.8.5-r3, 1.9.6-r2, 1.10.2 > sys-devel/binutils: 2.18-r3 > sys-devel/gcc-config: 1.4.1 > sys-devel/libtool: 2.2.6a > virtual/os-headers: 2.6.27-r2 > ACCEPT_KEYWORDS="x86" > CBUILD="i686-pc-linux-gnu" > CFLAGS="-O2 -march=i686 -pipe" > CHOST="i686-pc-linux-gnu" > CONFIG_PROTECT="/etc /var/bind" > CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ > /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ > /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ > /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d > /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c > /etc/udev/rules.d" > CXXFLAGS="-O2 -march=i686 -pipe" > DISTDIR="/usr/portage/distfiles" > EMERGE_DEFAULT_OPTS="--with-bdeps y" > FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox > sfperms strict unmerge-orphans userfetch" > GENTOO_MIRRORS="http://distfiles.gentoo.org > http://distro.ibiblio.org/pub/linux/distributions/gentoo" > LDFLAGS="-Wl,-O1" > LINGUAS="en es fr" > MAKEOPTS="-j2" > PKGDIR="/usr/portage-packages/carter" > PORTAGE_CONFIGROOT="/" > PORTAGE_RSYNC_EXTRA_OPTS="--human-readable" > PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times > --compress --force --whole-file --delete --stats --timeout=180 > --exclude=/distfiles --exclude=/local --exclude=/packages" > PORTAGE_TMPDIR="/var/tmp" > PORTDIR="/usr/portage" > PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage/bscharpf" > SYNC="rsync://rsync.gentoo.org/gentoo-portage" > USE="X a52 aac acl acpi alsa apache2 apm bash-completion berkdb > bind-mysql bluetooth branding bzip2 cairo cdr cli consolekit cracklib > crypt cups dbus dhcp doc dri dts dvd dvdr eds emboss encode evo examples > exim fam firefox flac foomaticdb fortran gdbm geoip gif gnome gpm > gstreamer gtk hal iconv imap imlib innodb ipv6 ithreads jadetex java > jpeg kde ldap libclamav libg++ libnotify libwww mad mikmod mmx > mode-owner modules mp3 mp4 mpeg mpm-leader mudflap mysql ncurses > networking nls nptl nptlonly oav offensive ogg opengl openmp pam pcre > pdf perl perlsuid png ppds pppd python qt3 qt3support qt4 quicktime > readline reflection ruby samba sdl search server session slp spell spl > ssl startup-notification svg sysfs syslog tcpd tetex threads thunar tiff > tk truetype unicode usb virus-scan vorbis win32codecs x264 x86 xml xorg > xulrunner xv xvid zaptel zlib" ALSA_CARDS="ali5451 als4000 atiixp > atiixp-modem bt87x ca0106 cmipci emu10k1 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 mmap_emul mulaw multi null plug rate route share shm > softvol" APACHE2_MODULES="actions alias auth_basic authn_alias > authn_anon authn_dbm authn_default authn_file authz_dbm authz_default > authz_groupfile authz_host authz_owner authz_user autoindex cache dav > dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache > filter headers include info log_config logio mem_cache mime mime_magic > negotiation rewrite setenvif speling status unique_id userdir usertrack > vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" > KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 > lcdm001 mtxorb ncurses text" LINGUAS="en es fr" USERLAND="GNU" > VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage > sis tdfx trident vesa vga via vmware voodoo" > Unset: CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LANG, LC_ALL, > PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS > > carter ~ # ls -l /etc/make.profile > lrwxrwxrwx 1 root root 52 Nov 19 12:47 /etc/make.profile > -> /usr/portage/profiles/default/linux/x86/10.0/desktop > > Please help! This has happened on two of my three systems so far... > > > >