View previous topic :: View next topic |
Author |
Message |
Master-DOS n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/19567987274506903a23a25.jpg)
Joined: 12 Sep 2006 Posts: 5
|
Posted: Tue Sep 12, 2006 10:48 am Post subject: GCC zerschossen? Probleme beim emergen. |
|
|
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 ![Smile :)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
doedel Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/9049701224440b7441acd9.jpg)
Joined: 05 Feb 2006 Posts: 579 Location: Denmark
|
Posted: Tue Sep 12, 2006 11:51 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Master-DOS n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/19567987274506903a23a25.jpg)
Joined: 12 Sep 2006 Posts: 5
|
Posted: Tue Sep 12, 2006 12:39 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Klaus Meier Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/gallery/Austin_Powers/Austin_Powers_-_Mini-Me.gif)
Joined: 18 Apr 2005 Posts: 2908 Location: Bozen
|
Posted: Tue Sep 12, 2006 12:59 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
scourge n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 13 Jun 2005 Posts: 51 Location: Germany
|
Posted: Tue Sep 12, 2006 1:06 pm Post subject: |
|
|
Würde mal die CFLAGS/LDFLAGS checken, hatte da auch schonmal nen Typo drin mit eben diesem Resultat. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|