Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Portage funktioniert plötzlich nicht mehr [solved]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
xmarkus
n00b
n00b


Joined: 08 Oct 2004
Posts: 4

PostPosted: Thu Dec 09, 2004 12:53 pm    Post subject: Portage funktioniert plötzlich nicht mehr [solved] Reply with quote

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
View user's profile Send private message
ian!
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 3829
Location: Essen, Germany

PostPosted: Thu Dec 09, 2004 1:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
xmarkus
n00b
n00b


Joined: 08 Oct 2004
Posts: 4

PostPosted: Thu Dec 09, 2004 1:14 pm    Post subject: Reply with quote

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
View user's profile Send private message
xmarkus
n00b
n00b


Joined: 08 Oct 2004
Posts: 4

PostPosted: Thu Dec 09, 2004 1:26 pm    Post subject: Reply with quote

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. :oops:
Back to top
View user's profile Send private message
boris64
Veteran
Veteran


Joined: 04 Oct 2003
Posts: 1770
Location: Vechelde/Peine

PostPosted: Thu Dec 09, 2004 4:37 pm    Post subject: Reply with quote

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
View user's profile Send private message
c07
Veteran
Veteran


Joined: 25 Oct 2002
Posts: 1091

PostPosted: Thu Dec 09, 2004 5:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum