* [gentoo-user] GCC gone bad! Help!
@ 2009-11-19 18:51 Michael Sullivan
2009-11-19 19:10 ` Fernando Antunes
` (3 more replies)
0 siblings, 4 replies; 9+ messages in thread
From: Michael Sullivan @ 2009-11-19 18:51 UTC (permalink / raw
To: gentoo-user
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
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...
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] GCC gone bad! Help!
2009-11-19 18:51 [gentoo-user] GCC gone bad! Help! Michael Sullivan
@ 2009-11-19 19:10 ` Fernando Antunes
2009-11-19 21:44 ` [gentoo-user] GCC gone bad! Help! [SOLVED] Michael Sullivan
2009-11-19 19:25 ` [gentoo-user] GCC gone bad! Help! James Ausmus
` (2 subsequent siblings)
3 siblings, 1 reply; 9+ messages in thread
From: Fernando Antunes @ 2009-11-19 19:10 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 5332 bytes --]
On Thu, Nov 19, 2009 at 4:51 PM, Michael Sullivan <msulli1355@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...
>
>
>
>
[-- Attachment #2: Type: text/html, Size: 6642 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] GCC gone bad! Help!
2009-11-19 18:51 [gentoo-user] GCC gone bad! Help! Michael Sullivan
2009-11-19 19:10 ` Fernando Antunes
@ 2009-11-19 19:25 ` James Ausmus
2009-11-19 19:44 ` Michael Sullivan
2009-11-19 21:07 ` [gentoo-user] " walt
2009-11-19 21:27 ` [gentoo-user] " Paul Hartman
3 siblings, 1 reply; 9+ messages in thread
From: James Ausmus @ 2009-11-19 19:25 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 449 bytes --]
On Thu, Nov 19, 2009 at 10:51 AM, Michael Sullivan <msulli1355@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
>
>
Please send the contents of the config log for the package you are trying to
build - it should approximately be in
/var/tmp/portage/$CATEGORY/$PACKAGE-$VERSION/work/$PACKAGE/config.log
-James
[-- Attachment #2: Type: text/html, Size: 756 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] GCC gone bad! Help!
2009-11-19 19:25 ` [gentoo-user] GCC gone bad! Help! James Ausmus
@ 2009-11-19 19:44 ` Michael Sullivan
2009-11-19 19:47 ` Michael Sullivan
2009-11-19 20:21 ` James Ausmus
0 siblings, 2 replies; 9+ messages in thread
From: Michael Sullivan @ 2009-11-19 19:44 UTC (permalink / raw
To: gentoo-user
On Thu, 2009-11-19 at 11:25 -0800, James Ausmus wrote:
>
>
> On Thu, Nov 19, 2009 at 10:51 AM, Michael Sullivan
> <msulli1355@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
>
>
>
> Please send the contents of the config log for the package you are
> trying to build - it should approximately be
> in /var/tmp/portage/$CATEGORY/$PACKAGE-$VERSION/work/$PACKAGE/config.log
>
>
> -James
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.63. Invocation command line was
$ ./configure --prefix=/usr --build=i686-pc-linux-gnu
--host=i686-pc-linux-gnu --mandir=/usr/share/man
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
--localstatedir=/var/lib --enable-dns --with-db=/usr/include/db4.7
--with-dblib=db-4.7 --enable-geoip --with-language=english
## --------- ##
## Platform. ##
## --------- ##
hostname = carter
uname -m = i686
uname -r = 2.6.30-gentoo-r4
uname -s = Linux
uname -v = #1 SMP Thu Nov 5 13:47:33 CST 2009
/usr/bin/uname -p = AMD Athlon(tm) 7550 Dual-Core Processor
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/lib/portage/bin/ebuild-helpers
PATH: /usr/local/sbin
PATH: /sbin
PATH: /usr/sbin
PATH: /usr/local/bin
PATH: /bin
PATH: /usr/bin
PATH: /opt/bin
PATH: /usr/i686-pc-linux-gnu/gcc-bin/4.1.1
PATH: /usr/i686-pc-linux-gnu/gcc-bin/4.1.2
PATH: /usr/qt/3/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1831: checking for i686-pc-linux-gnu-gcc
configure:1858: result: gcc
configure:2130: checking for C compiler version
configure:2138: gcc --version >&5
gcc-config: error: could not run/locate 'gcc'
configure:2142: $? = 1
configure:2149: gcc -v >&5
gcc-config: error: could not run/locate 'gcc'
configure:2153: $? = 1
configure:2160: gcc -V >&5
gcc-config: error: could not run/locate 'gcc'
configure:2164: $? = 1
configure:2187: checking for C compiler default output file name
configure:2209: gcc -O2 -march=i686 -pipe -Wl,-O1 conftest.c >&5
gcc-config: error: could not run/locate 'gcc'
configure:2213: $? = 1
configure:2251: result:
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2257: error: in
`/var/tmp/portage/app-admin/webalizer-2.01.10-r15/work/webalizer-2.01-10':
configure:2260: error: C compiler cannot create executables
See `config.log' for more details.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_env_CC_set=set
ac_cv_env_CC_value=gcc
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-O2 -march=i686 -pipe'
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value=-Wl,-O1
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=i686-pc-linux-gnu
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=i686-pc-linux-gnu
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_prog_CC=gcc
## ----------------- ##
## Output variables. ##
## ----------------- ##
CC='gcc'
CFLAGS='-O2 -march=i686 -pipe'
CPP=''
CPPFLAGS=''
DEFAULT_LANG='english'
DEFS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ETCDIR=''
EXEEXT=''
GDLIB=''
GDLOC=''
GEOIPINC=''
GEOIPLIB=''
GREP=''
INSTALL_DATA=''
INSTALL_PROGRAM=''
INSTALL_SCRIPT=''
LDFLAGS='-Wl,-O1'
LIBOBJS=''
LIBS=''
LN_S=''
LTLIBOBJS=''
OBJEXT=''
OPTS=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
SHELL='/bin/sh'
ac_ct_CC=''
bindir='${exec_prefix}/bin'
build_alias='i686-pc-linux-gnu'
datadir='/usr/share'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='NONE'
host_alias='i686-pc-linux-gnu'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='/usr/share/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='/var/lib'
mandir='/usr/share/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
configure: exit 77
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] GCC gone bad! Help!
2009-11-19 19:44 ` Michael Sullivan
@ 2009-11-19 19:47 ` Michael Sullivan
2009-11-19 20:21 ` James Ausmus
1 sibling, 0 replies; 9+ messages in thread
From: Michael Sullivan @ 2009-11-19 19:47 UTC (permalink / raw
To: gentoo-user
On Thu, 2009-11-19 at 13:44 -0600, Michael Sullivan wrote:
> On Thu, 2009-11-19 at 11:25 -0800, James Ausmus wrote:
> >
> >
> > On Thu, Nov 19, 2009 at 10:51 AM, Michael Sullivan
> > <msulli1355@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
> >
> >
> >
> > Please send the contents of the config log for the package you are
> > trying to build - it should approximately be
> > in /var/tmp/portage/$CATEGORY/$PACKAGE-$VERSION/work/$PACKAGE/config.log
> >
> >
> > -James
I think I sent the wrong one. Here's the right one (I think):
carter ~ #
cat /var/log/portage-logs/app-admin:webalizer-2.01.10-r15:20091119-194440.log
>>> Unpacking source...
>>> Unpacking webalizer-2.01-10-src.tar.bz2
to /var/tmp/portage/app-admin/webalizer-2.01.10-r15/work
>>> Unpacking webalizer.conf.gz
to /var/tmp/portage/app-admin/webalizer-2.01.10-r15/work
>>> Unpacking geolizer_2.01-10-patch.20050520.tar.bz2
to /var/tmp/portage/app-admin/webalizer-2.01.10-r15/work
* Applying geolizer.patch ...
[ ok ]
>>> Source unpacked
in /var/tmp/portage/app-admin/webalizer-2.01.10-r15/work
>>> Compiling source
in /var/tmp/portage/app-admin/webalizer-2.01.10-r15/work/webalizer-2.01-10 ...
* Found db version 4.7
include version 4.7
* Found db version 4.7
* Running eautoreconf in
'/var/tmp/portage/app-admin/webalizer-2.01.10-r15/work/webalizer-2.01-10' ...
* QA Warning: running autoconf in compile phase
* Running autoconf ...
[ ok ]
./configure --prefix=/usr --build=i686-pc-linux-gnu
--host=i686-pc-linux-gnu --mandir=/usr/share/man
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
--localstatedir=/var/lib --enable-dns --with-db=/usr/include/db4.7
--with-dblib=db-4.7 --enable-geoip --with-language=english
checking for i686-pc-linux-gnu-gcc... gcc
checking for C compiler default output file name...
configure: error: in
`/var/tmp/portage/app-admin/webalizer-2.01.10-r15/work/webalizer-2.01-10':
configure: error: C compiler cannot create executables
See `config.log' for more details.
!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/app-admin/webalizer-2.01.10-r15/work/webalizer-2.01-10/config.log
*
* ERROR: app-admin/webalizer-2.01.10-r15 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 3227: Called econf '--enable-dns'
'--with-db=/usr/include/db4.7' '--with-dblib=db-4.7' '--enable-geoip'
'--with-language=english'
* ebuild.sh, line 534: Called die
* The specific snippet of code:
* die "econf failed"
* The die message:
* 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-logs/app-admin:webalizer-2.01.10-r15:20091119-194440.log'.
* The ebuild environment file is located at
'/var/tmp/portage/app-admin/webalizer-2.01.10-r15/temp/environment'.
*
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] GCC gone bad! Help!
2009-11-19 19:44 ` Michael Sullivan
2009-11-19 19:47 ` Michael Sullivan
@ 2009-11-19 20:21 ` James Ausmus
1 sibling, 0 replies; 9+ messages in thread
From: James Ausmus @ 2009-11-19 20:21 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 512 bytes --]
On Thu, Nov 19, 2009 at 11:44 AM, Michael Sullivan <msulli1355@gmail.com>wrote:
<snip>
> configure:2138: gcc --version >&5
> gcc-config: error: could not run/locate 'gcc'
>
There's your problem right there, Vern... ;)
Run gcc-config -l
Pick the gompuler that looks best (most likely #1), then run
gcc-config <compiler_number>
source /etc/profile
Then try running
gcc -v
If you get output that looks sane (ie. no "command not found" message), then
you should be good to go - try emerging again.
HTH-
James
[-- Attachment #2: Type: text/html, Size: 1022 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* [gentoo-user] Re: GCC gone bad! Help!
2009-11-19 18:51 [gentoo-user] GCC gone bad! Help! Michael Sullivan
2009-11-19 19:10 ` Fernando Antunes
2009-11-19 19:25 ` [gentoo-user] GCC gone bad! Help! James Ausmus
@ 2009-11-19 21:07 ` walt
2009-11-19 21:27 ` [gentoo-user] " Paul Hartman
3 siblings, 0 replies; 9+ messages in thread
From: walt @ 2009-11-19 21:07 UTC (permalink / raw
To: gentoo-user
On 11/19/2009 10:51 AM, Michael Sullivan wrote:
> ...
> 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
gcc-config manipulates the contents of /etc/env.d/gcc
$ls -la /etc/env.d/gcc
total 24
drwxr-xr-x 2 root root 4096 2009-11-14 08:19 .
drwxr-xr-x 5 root root 4096 2009-11-15 05:20 ..
-rw-r--r-- 1 root root 32 2009-11-14 08:19 config-i686-pc-linux-gnu
-rw-r--r-- 1 root root 235 2009-01-29 12:33 i686-pc-linux-gnu-4.1.2
-rw-r--r-- 1 root root 235 2009-07-04 09:02 i686-pc-linux-gnu-4.3.2
-rw-r--r-- 1 root root 235 2009-10-17 11:28 i686-pc-linux-gnu-4.3.4
lrwxrwxrwx 1 root root 23 2009-11-14 08:19 .NATIVE -> i686-pc-linux-gnu-4.3.4
What do you have there?
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] GCC gone bad! Help!
2009-11-19 18:51 [gentoo-user] GCC gone bad! Help! Michael Sullivan
` (2 preceding siblings ...)
2009-11-19 21:07 ` [gentoo-user] " walt
@ 2009-11-19 21:27 ` Paul Hartman
3 siblings, 0 replies; 9+ messages in thread
From: Paul Hartman @ 2009-11-19 21:27 UTC (permalink / raw
To: gentoo-user
On Thu, Nov 19, 2009 at 12:51 PM, Michael Sullivan <msulli1355@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
>
>
> How can I get gcc back?
try to run "gcc-config 1" as root to have it re-configure your gcc
settings/links.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] GCC gone bad! Help! [SOLVED]
2009-11-19 19:10 ` Fernando Antunes
@ 2009-11-19 21:44 ` Michael Sullivan
0 siblings, 0 replies; 9+ messages in thread
From: Michael Sullivan @ 2009-11-19 21:44 UTC (permalink / raw
To: gentoo-user
On Thu, 2009-11-19 at 17:10 -0200, Fernando Antunes wrote:
>
>
> On Thu, Nov 19, 2009 at 4:51 PM, Michael Sullivan
> <msulli1355@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.
That fixed it! Thank you!
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2009-11-19 21:45 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-19 18:51 [gentoo-user] GCC gone bad! Help! Michael Sullivan
2009-11-19 19:10 ` Fernando Antunes
2009-11-19 21:44 ` [gentoo-user] GCC gone bad! Help! [SOLVED] Michael Sullivan
2009-11-19 19:25 ` [gentoo-user] GCC gone bad! Help! James Ausmus
2009-11-19 19:44 ` Michael Sullivan
2009-11-19 19:47 ` Michael Sullivan
2009-11-19 20:21 ` James Ausmus
2009-11-19 21:07 ` [gentoo-user] " walt
2009-11-19 21:27 ` [gentoo-user] " Paul Hartman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox