Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
GCC zerschossen? Probleme beim emergen.
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
Master-DOS
n00b
n00b


Joined: 12 Sep 2006
Posts: 5

PostPosted: Tue Sep 12, 2006 10:48 am    Post subject: GCC zerschossen? Probleme beim emergen. Reply with quote

Moin Moin :)

ich glaube ich hab mir heute früh den gcc? oder irgendwas anderes am system zerschossen..

beim versuch emerge xterm oder aterm auf die console ab zu setzen bekomme ich folgende Meldung

Code:
Calculating dependencies... done!
 
>>> Emerging (1 of 1) x11-terms/xterm-215 to /
 * xterm-215.tgz MD5 ;-) ...                                                         [ ok ] * xterm-215.tgz RMD160 ;-) ...                                                      [ ok ] * xterm-215.tgz SHA1 ;-) ...                                                        [ ok ] * xterm-215.tgz SHA256 ;-) ...                                                      [ ok ] * xterm-215.tgz size ;-) ...                                                        [ ok ] * checking ebuild checksums ;-) ...                                                 [ ok ] * checking auxfile checksums ;-) ...                                                [ ok ] * checking miscfile checksums ;-) ...                                               [ ok ] * checking xterm-215.tgz ;-) ...                                                    [ ok ]>>> Unpacking source...
>>> Unpacking xterm-215.tgz to /var/tmp/portage/xterm-215/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/xterm-215/work/xterm-215 ...
 * econf: updating xterm-215/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating xterm-215/config.guess with /usr/share/gnuconfig/config.guess
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/etc --with-x --with-utempter --disable-setuid --disable-full-tgetent --disable-imake --enable-ansi-color --enable-256-color --enable-broken-osc --enable-broken-st --enable-load-vt-fonts --enable-i18n --enable-wide-chars --enable-doublechars --enable-warnings --enable-tcap-query --enable-logging --enable-dabbrev --with-app-defaults=/usr/share/X11/app-defaults --disable-toolbar --disable-freetype --enable-luit --enable-mini-luit --without-Xaw3d --disable-narrowproto --build=i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
Configuring for linux-gnu
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking for C compiler default output... configure: error: C compiler cannot create executables
 
!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/xterm-215/work/xterm-215/config.log
 
!!! ERROR: x11-terms/xterm-215 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  xterm-215.ebuild, line 49:   Called econf '--libdir=/etc' '--with-x' '--with-utempter' '--disable-setuid' '--disable-full-tgetent' '--disable-imake' '--enable-ansi-color' '--enable-256-color' '--enable-broken-osc' '--enable-broken-st' '--enable-load-vt-fonts' '--enable-i18n' '--enable-wide-chars' '--enable-doublechars' '--enable-warnings' '--enable-tcap-query' '--enable-logging' '--enable-dabbrev' '--with-app-defaults=/usr/share/X11/app-defaults' '--disable-toolbar' '--disable-freetype' '--enable-luit' '--enable-mini-luit' '--without-Xaw3d' '--disable-narrowproto'
  ebuild.sh, line 540:   Called die
 
!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if relevant.


So ich habe gestern abend 1. versucht neben gentoo ein LFS auf zu setzen, was ich 3 schritte nachem GCC bau verworfen hatte.

dann sachte mir wer mitem 2.95er GCC würde ich nen kernel 2.2 Compilert bekommen, also hatte ich mir den wie folgt installiert:
Code:
./configure --prefix=/usr/local --enable-languages=c --with-local-prefix=/usr/local --disable-nls --enable-shared

make bootstrap && make check && make install


Quote:
tux dos # uname -a
Linux tux 2.6.17-gentoo-r7 #1 Thu Aug 31 23:38:40 GMT 2006 i686 AMD Athlon(tm) XP 2000+ GNU/Linux

tux dos # gcc --version
2.95



und nun bin ich ratlos und für jede hilfe dankbar :)
Back to top
View user's profile Send private message
doedel
Guru
Guru


Joined: 05 Feb 2006
Posts: 579
Location: Denmark

PostPosted: Tue Sep 12, 2006 11:51 am    Post subject: Reply with quote

wenn du in deinem gentoo keinen compiler compilieren kannst, lad dir ein stage archiv herunter, entpacke es, mounte / irgendwo in das entpackte archiv, chroote rein, und emerge einen gcc mit "ROOT=/mountpunkt/vom/root/dev emerge -av .....".
_________________
1 ha == 1 Hekto-Ar == 1 Hektar
Back to top
View user's profile Send private message
Master-DOS
n00b
n00b


Joined: 12 Sep 2006
Posts: 5

PostPosted: Tue Sep 12, 2006 12:39 pm    Post subject: Reply with quote

doedel wrote:
wenn du in deinem gentoo keinen compiler compilieren kannst, lad dir ein stage archiv herunter, entpacke es, mounte / irgendwo in das entpackte archiv, chroote rein, und emerge einen gcc mit "ROOT=/mountpunkt/vom/root/dev emerge -av .....".


o_O verstehe ich jetzt nicht so wirklich, wobei der GCC 4.1.1 ja installiert ist, ich wollte gestern den gcc 2.95 nur zusätzlich installen..

ich schätze mal da ist ggf, nur nen Synbollink falsch gesetzt oda so?
Back to top
View user's profile Send private message
Klaus Meier
Advocate
Advocate


Joined: 18 Apr 2005
Posts: 2908
Location: Bozen

PostPosted: Tue Sep 12, 2006 12:59 pm    Post subject: Reply with quote

Du kannst bzw. mußt mit gcc-config zwischen den beiden Compilern umschalten. Aber der 2.95 ist aber nun schon etwas antiquiert, für was wolltest du den denn? Schau mal in die Anleitung zum gcc-Update, die hilft dir jetzt vielleicht weiter.
Back to top
View user's profile Send private message
scourge
n00b
n00b


Joined: 13 Jun 2005
Posts: 51
Location: Germany

PostPosted: Tue Sep 12, 2006 1:06 pm    Post subject: Reply with quote

Würde mal die CFLAGS/LDFLAGS checken, hatte da auch schonmal nen Typo drin mit eben diesem Resultat.
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