View previous topic :: View next topic |
Author |
Message |
xmarkus n00b
Joined: 08 Oct 2004 Posts: 4
|
Posted: Thu Dec 09, 2004 12:53 pm Post subject: Portage funktioniert plötzlich nicht mehr [solved] |
|
|
Hallo,
egal welches Paket ich versuche zu emergen, jedesmal bricht der Vorgang bei configure ab:
Code: | # emerge strace
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-util/strace-4.5.7 to /
>>> md5 src_uri ;-) strace-4.5.7.tar.bz2
>>> Unpacking source...
>>> Unpacking strace-4.5.7.tar.bz2 to /var/tmp/portage/strace-4.5.7/work
* Using GNU config files from /usr/share/automake-1.8
* Updating config.sub [ ok ]
* Updating config.guess [ ok ]
>>> Source unpacked.
* econf: updating /var/tmp/portage/strace-4.5.7/work/strace-4.5.7/config.guess with /usr/share/gnuconfig/config.guess
* econf: updating /var/tmp/portage/strace-4.5.7/work/strace-4.5.7/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib
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 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 i686-pc-linux-gnu-strip... no
checking for strip... strip
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for supported operating system... linux
checking for supported architecture... i386
checking for i686-pc-linux-gnu-gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
!!! ERROR: dev-util/strace-4.5.7 failed.
!!! Function econf, Line 441, Exitcode 77
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message. |
Bei jedem Paket kommt der gleiche Fehler "error: C compiler cannot create executables".
Das merkwürdige an der ganzen Sache ist, dass wenn ich in das work-Verzeichnis gehe
(in diesem Fall /var/tmp/portage/strace-4.5.7/work/strace-4.5.7/) und dort manuell
./configure ausführe läuft das Script fehlerfrei durch.
gcc ist offensichtlich in Ordung, der Fehler müsste also bei Portage liegen. Ich
habe schon versucht Portage neu zu emergen, hat aber nicht geholfen.
Für jede Hilfe wäre ich sehr dankbar!
Gruß
Markus
Last edited by xmarkus on Thu Dec 09, 2004 1:26 pm; edited 1 time in total |
|
Back to top |
|
|
ian! Bodhisattva
Joined: 25 Feb 2003 Posts: 3829 Location: Essen, Germany
|
Posted: Thu Dec 09, 2004 1:10 pm Post subject: |
|
|
Du hast sicherlich Änderungen an deinen CFLAGS vorgenommen. Überprüfe diese noch einmal. Ansonsten mal die CFLAGS hier posten. _________________ "To have a successful open source project, you need to be at least somewhat successful at getting along with people." -- Daniel Robbins |
|
Back to top |
|
|
xmarkus n00b
Joined: 08 Oct 2004 Posts: 4
|
Posted: Thu Dec 09, 2004 1:14 pm Post subject: |
|
|
Ich habe seit vielen Monaten keine Veränderung an den CFLAGS vorgenommen.
Hier der Inhalt meiner make.conf:
Code: |
CFLAGS="-O2 -mcpu=pentium3 -march=pentium3 -mmmx -msse -mfpmath=sse -pipe"
LDFLAGS="-Wl,-O1 -Wl,--eneable-new-dtags -Wl,--sort-common -Wl,--strip-all"
PORTAGE_NICENESS=19
CHOST="i686-pc-linux-gnu"
USE="tiff ppds alsa dvd pcmcia pnp lirc directfb esd fbcon mmx sse ipv6 mozilla samba scanner unicode usb wmf"
CXXFLAGS="${CFLAGS}"
ALSA_CARDS="ymfpci"
VIDEO_CARDS="mach64"
LINGUAS="de"
LANGUAGE="49"
|
|
|
Back to top |
|
|
xmarkus n00b
Joined: 08 Oct 2004 Posts: 4
|
Posted: Thu Dec 09, 2004 1:26 pm Post subject: |
|
|
Ahh... Alles wieder in Ordnung. Ich habe den Fehler gefunden. Es lag an den LDFLAGS!
Jetzt fällts mir wieder ein, ich habe die LDFLAGS vor einiger Zeit geändert.
Mein Fehler, sorry wegen diesen überflüssigen Thread. |
|
Back to top |
|
|
boris64 Veteran
Joined: 04 Oct 2003 Posts: 1770 Location: Vechelde/Peine
|
Posted: Thu Dec 09, 2004 4:37 pm Post subject: |
|
|
nur so am rande, ist das "-mcpu=pentium3 -march=pentium3" in deinen CFLAGS nicht auch kompletter quark?
"-march=pentium3" impliziert doch "-mcpu=pentium3" oder hat boris da wieder was verschlafen?! _________________ boris64.net 200x / visit my desktop / try these tiny kernel patches |
|
Back to top |
|
|
c07 Veteran
Joined: 25 Oct 2002 Posts: 1091
|
Posted: Thu Dec 09, 2004 5:10 pm Post subject: |
|
|
borisdigital wrote: | nur so am rande, ist das "-mcpu=pentium3 -march=pentium3" in deinen CFLAGS nicht auch kompletter quark?
"-march=pentium3" impliziert doch "-mcpu=pentium3" oder hat boris da wieder was verschlafen?! |
Das -mmmx und -msse auch. Manche Leute lassen es aber trotzdem für den Fall drin, dass ein Ebuild zwar -march, nicht aber den Rest filtert (gibts in Einzelfällen tatsächlich). |
|
Back to top |
|
|
|