[gentoo]GCC lam na emerge --update world

Pagina: 1
Acties:

  • Boudewijn
  • Registratie: Februari 2004
  • Niet online

Boudewijn

omdat het kan

Topicstarter
Hoi,

gisteren een emerge --sync gedaan op mijn gentoo voor amd64. Daarna emerge --update world. Hij moest 108 pakketten doen, bij 55 ofzo was gcc aan de beurt. Hier crashte hij echter op :(

Nu kan ik echter niks meer compileren:


code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
merge --update world
Calculating world dependencies ...done!
>>> emerge (1 of 52) media-libs/alsa-lib-1.0.8_rc1 to /
>>> md5 src_uri ;-) alsa-lib-1.0.8rc1.tar.bz2
>>> Unpacking source...
>>> Unpacking alsa-lib-1.0.8rc1.tar.bz2 to /var/tmp/portage/alsa-lib-1.0.8_rc1/work
>>> Source unpacked.
 * econf: updating alsa-lib-1.0.8rc1/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating alsa-lib-1.0.8rc1/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=/usr/lib --disable-static --enable-shared=yes
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking for C compiler default output... configure: error: C compiler cannot create executables
See `config.log' for more details.

!!! Please attach the config.log to your bug report:
!!! /var/tmp/portage/alsa-lib-1.0.8_rc1/work/alsa-lib-1.0.8rc1/config.log

!!! ERROR: media-libs/alsa-lib-1.0.8_rc1 failed.
!!! Function econf, Line 483, Exitcode 0
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.


Deze error krijg ik telkens. Ik heb ook al geprobeerd gcc te emergen ,maar dat gaat ook mis.

Dit heb ik nav wat ge-google ook al geprobeerd:


whereis gcc
gcc: /usr/lib/gcc

De CC environment variable hiernaar ingesteld
en ook dit:

/usr/portage/sys-devel/gcc/files/fix_libtool_files.sh 3.3.4 , dit gaf:
* fix_libtool_files.sh: /lib/rcscripts/awk/fixlafiles.awk does not exist!

Nog wat info:

code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
zeus boudewijn # emerge info
Portage 2.0.51-r12 (default-linux/amd64/2004.3, gcc-3.4.2, glibc-2.3.4.20041102-r0, 2.6.9-gentoo-r12 x86_64)
=================================================================
System uname: 2.6.9-gentoo-r12 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Jan 16 2005, 17:16:26)]
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.8.5-r2, 1.5, 1.6.3, 1.7.9, 1.4_p6, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r2
virtual/os-headers:  2.6.8.1-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-march=amd64 -O2 -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=amd64 -O2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox"
GENTOO_MIRRORS="ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo "
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X acpi alsa arts berkdb bitmap-fonts cdr crypt dvd emul-linux-x86 esd f77 fam font-server fortran gif gnome gpm gstreamer gtk imagemagick imap imlib ipv6 java jp2 jpeg junit kde libwww lzw lzw-tiff maildir motif mozilla multilib mysql ncurses nls opengl oss pam pam-mysql perl png python qt readline sasl ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts usb userlocales video xml xml2 xmms xpm xrandr xv zlib"
Unset:  LDFLAGS, PORTDIR_OVERLAY

zeus boudewijn #



Weet iemand wat dit is, ik heb wel verstand van linux maar nog niet echt van portage :|

  • irondog
  • Registratie: Januari 2001
  • Laatst online: 11-05-2025

irondog

alle dingen moeten onzin zijn

Wat zie je bij de output van:
gcc-config -l

[P5B deluxe] [Core2Duo 6300] [2 X 1GB DDR2] [GF FX7300] [320 GB WD] [Gentoo] [VISTA]


  • Boudewijn
  • Registratie: Februari 2004
  • Niet online

Boudewijn

omdat het kan

Topicstarter
code:
1
2
3
boudewijn@zeus ~ $ gcc-config -l
 * /usr/bin/gcc-config: Profile does not exist or invalid setting for /etc/env.d/gcc/x86_64-pc-linux-gnu-3.4.2
[1] x86_64-pc-linux-gnu-3.4.2 *


als je nog meer wil weten hoor ik het wel :)

Verwijderd

Ik had op een van mijn machines hetzelfde probleem. Opgelost door een binary gcc te downloaden en daarna GCC opnieuw te emergen.

http://dev.gentoo.org/~avenj/bins/

Lees eerst de README!

[ Voor 29% gewijzigd door Verwijderd op 18-01-2005 15:27 ]