Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem beim compilen
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page 1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
blasphemer
n00b
n00b


Joined: 21 Dec 2007
Posts: 40

PostPosted: Fri Jan 18, 2008 2:57 pm    Post subject: Problem beim compilen Reply with quote

tach,

und zwar habe ich das Problem das ich keine Programme mehr via emerge installieren/compilen kann.
Dasl iegt wohl daran das ich kein g++ mehr drauf hab, wie auch immer das passiert ist das es nich mehr drauf is.
z.B. bekomme ich so eine Fehlermeldung:
Code:

>>> Emerging (4 of 28) dev-cpp/libbinio-1.4 to /
Downloading 'libbinio-1.4.tar.bz2'... see /var/log/emerge-fetch.log for details.
 * libbinio-1.4.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                 [ ok ]
 * checking ebuild checksums ;-) ...                                                                                    [ ok ]
 * checking auxfile checksums ;-) ...                                                                                   [ ok ]
 * checking miscfile checksums ;-) ...                                                                                  [ ok ]
 * checking libbinio-1.4.tar.bz2 ;-) ...                                                                                [ ok ]
>>> Unpacking source...
>>> Unpacking libbinio-1.4.tar.bz2 to /var/tmp/portage/dev-cpp/libbinio-1.4/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/dev-cpp/libbinio-1.4/work/libbinio-1.4 ...
 * econf: updating libbinio-1.4/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating libbinio-1.4/config.guess with /usr/share/gnuconfig/config.guess
./configure --prefix=/usr --host=i486-pc-linux-gnui --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --build=i486-pc-linux-gnui
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i486-pc-linux-gnui
checking host system type... i486-pc-linux-gnui
checking for style of include used by make... GNU
checking for i486-pc-linux-gnui-gcc... i486-pc-linux-gnui-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i486-pc-linux-gnui-gcc accepts -g... yes
checking for i486-pc-linux-gnui-gcc option to accept ANSI C... none needed
checking dependency style of i486-pc-linux-gnui-gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by i486-pc-linux-gnui-gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... nm
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... i486-pc-linux-gnui-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for i486-pc-linux-gnui-g++... no
checking for i486-pc-linux-gnui-c++... no
checking for i486-pc-linux-gnui-gpp... no
checking for i486-pc-linux-gnui-aCC... no
checking for i486-pc-linux-gnui-CC... no
checking for i486-pc-linux-gnui-cxx... no
checking for i486-pc-linux-gnui-cc++... no
checking for i486-pc-linux-gnui-cl... no
checking for i486-pc-linux-gnui-FCC... no
checking for i486-pc-linux-gnui-KCC... no
checking for i486-pc-linux-gnui-RCC... no
checking for i486-pc-linux-gnui-xlC_r... no
checking for i486-pc-linux-gnui-xlC... no
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/dev-cpp/libbinio-1.4/work/libbinio-1.4/config.log
 *
 * ERROR: dev-cpp/libbinio-1.4 failed.
 * Call stack:
 *   ebuild.sh, line 1701:  Called dyn_compile
 *   ebuild.sh, line 1039:  Called qa_call 'src_compile'
 *   ebuild.sh, line   44:  Called src_compile
 *   ebuild.sh, line  706:  Called econf
 *   ebuild.sh, line  638:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
 *  The die message:
 *   econf failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/dev-cpp/libbinio-1.4/temp/build.log'.
 *

 * Messages for package dev-cpp/libbinio-1.4:

 *
 * ERROR: dev-cpp/libbinio-1.4 failed.
 * Call stack:
 *   ebuild.sh, line 1701:  Called dyn_compile
 *   ebuild.sh, line 1039:  Called qa_call 'src_compile'
 *   ebuild.sh, line   44:  Called src_compile
 *   ebuild.sh, line  706:  Called econf
 *   ebuild.sh, line  638:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
 *  The die message:
 *   econf failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/dev-cpp/libbinio-1.4/temp/build.log'.
 *
 * GNU info directory index is up-to-date.


So wie man unschwer erkennen kann, findet er g++ und andere dateien nicht mehr, die vorher da waren.
Nun meine frage gibt es ne moeglichkeit g++ wieder zu bekommen? Ich hab glibc und gcc schon neuinstalliert, danach hats immer noch nich funtkioniert.
Back to top
View user's profile Send private message
Max Steel
Advocate
Advocate


Joined: 12 Feb 2007
Posts: 2245
Location: My own world! I and Gentoo!

PostPosted: Fri Jan 18, 2008 3:17 pm    Post subject: Reply with quote

Du kannst versuchen emerge --unmerge gcc
und danach emerge -1 gcc nochmal auszuführen.
Wenn das nicht klappt kannst du hier schauen:
python deinstalliert -> emerge kaputt

Den Lösungsanschlag von Stigmata kannst du befolgen, nur eben statt python installierst du gcc neu
_________________
mfg
Steel
___________________

Heim-PC: AMD Ryzen 5950X, 64GB RAM, GTX 1080
Laptop: Intel Core i5-4300U, 16GB RAM, Intel Graphic
Arbeit-PC: Intel i5-1145G7, 16GB RAM, Intel Iris Xe Graphic (leider WSL2)
Back to top
View user's profile Send private message
firefly
Watchman
Watchman


Joined: 31 Oct 2002
Posts: 5232

PostPosted: Fri Jan 18, 2008 3:35 pm    Post subject: Reply with quote

Max Steel wrote:
Du kannst versuchen emerge --unmerge gcc
und danach emerge -1 gcc nochmal auszuführen.
Wenn das nicht klappt kannst du hier schauen:
python deinstalliert -> emerge kaputt

Den Lösungsanschlag von Stigmata kannst du befolgen, nur eben statt python installierst du gcc neu

ähm wenn er den gcc komplett entfernt wie soll er dann den gcc wieder installieren ohne einen kompiler?
ein emerge -1 gcc sollte ausreichen.
_________________
Ein Ring, sie zu knechten, sie alle zu finden,
Ins Dunkel zu treiben und ewig zu binden
Im Lande Mordor, wo die Schatten drohn.
Back to top
View user's profile Send private message
Max Steel
Advocate
Advocate


Joined: 12 Feb 2007
Posts: 2245
Location: My own world! I and Gentoo!

PostPosted: Fri Jan 18, 2008 3:57 pm    Post subject: Reply with quote

dann eben nicht, aber stigmatas lösung für den gcc zu nutzen funktioniert trotzdem, zumnindest sollte das.

Soweit ich weiß nimmt der gcc einen eigenen vorkompilierten gcc unter ${WORKDIR}/stage1/xgcc zumindest sieht das bei meinen Beobachtungen immer so aus, kann mich natürlich auch irren.
_________________
mfg
Steel
___________________

Heim-PC: AMD Ryzen 5950X, 64GB RAM, GTX 1080
Laptop: Intel Core i5-4300U, 16GB RAM, Intel Graphic
Arbeit-PC: Intel i5-1145G7, 16GB RAM, Intel Iris Xe Graphic (leider WSL2)


Last edited by Max Steel on Fri Jan 18, 2008 4:28 pm; edited 1 time in total
Back to top
View user's profile Send private message
firefly
Watchman
Watchman


Joined: 31 Oct 2002
Posts: 5232

PostPosted: Fri Jan 18, 2008 4:08 pm    Post subject: Reply with quote

Max Steel wrote:
dann eben nicht, aber stigmatas lösung für den gcc zu nutzen funktioniert trotzdem, zumnindest sollte das.

Auißerdem nimmt der gcc eh eine eigene vorkompilierte sache unter ${WORKDIR}/stage1/xgcc zumindest sieht das bei meinen Beobachtungen im,mer so aus, kann mich natürlich auch irren.


Das übersetzen der gcc-suite passiert in 3 Schritten.
1. Schritt: übersetzen des c-compilers(xgcc) mit dem im system vorhandenen c-compilers.
2. Schritt: neuübersetzen des c-compilers mit dem xgcc aus dem 1. Schritt. Somit hat sich der c-comiler mit sich selbst übersetzt.
3. Schritt: übersetzten der compiler für die anderen unterstützen Programmiersprachen(z.b. c++, d, fortran)

blasphemer: wenn eine re-installation vom gcc nicht hilft, kann es sein, das du versehentlich das USE-Flag "nocxx" für den gcc gesetzt hast (entweder in der make.conf oder in /etc/portage/package.keywords <- wenn vorhanden)
_________________
Ein Ring, sie zu knechten, sie alle zu finden,
Ins Dunkel zu treiben und ewig zu binden
Im Lande Mordor, wo die Schatten drohn.
Back to top
View user's profile Send private message
blasphemer
n00b
n00b


Joined: 21 Dec 2007
Posts: 40

PostPosted: Fri Jan 18, 2008 5:31 pm    Post subject: Reply with quote

firefly wrote:
Max Steel wrote:
dann eben nicht, aber stigmatas lösung für den gcc zu nutzen funktioniert trotzdem, zumnindest sollte das.

Auißerdem nimmt der gcc eh eine eigene vorkompilierte sache unter ${WORKDIR}/stage1/xgcc zumindest sieht das bei meinen Beobachtungen im,mer so aus, kann mich natürlich auch irren.


Das übersetzen der gcc-suite passiert in 3 Schritten.
1. Schritt: übersetzen des c-compilers(xgcc) mit dem im system vorhandenen c-compilers.
2. Schritt: neuübersetzen des c-compilers mit dem xgcc aus dem 1. Schritt. Somit hat sich der c-comiler mit sich selbst übersetzt.
3. Schritt: übersetzten der compiler für die anderen unterstützen Programmiersprachen(z.b. c++, d, fortran)

blasphemer: wenn eine re-installation vom gcc nicht hilft, kann es sein, das du versehentlich das USE-Flag "nocxx" für den gcc gesetzt hast (entweder in der make.conf oder in /etc/portage/package.keywords <- wenn vorhanden)


genau ich hab das nocxx flag gesetzt gehabt, so ich habs nochmal ohne das nocxx flag compiled
leider bekomme ich immer noch die meldung das der befehl g++ nich gefunden wurde ...
Back to top
View user's profile Send private message
Max Steel
Advocate
Advocate


Joined: 12 Feb 2007
Posts: 2245
Location: My own world! I and Gentoo!

PostPosted: Fri Jan 18, 2008 5:37 pm    Post subject: Reply with quote

Ich weiß jetzt nicht inwieweit es solche noc** Flags für gcc gibt, aber du könntest mal versuchsweise so compilen:
USE="-*" emerge -a1 gcc
und natürlich in die USE-Variable alles benütigte einbauen, bei mir ist noch fortran mudflap und nls eingebaut.

Das sehe dann so aus:
USE="-* fortran mudflap nls" emerge -a1 gcc

Und dann schauen ob das beser geht.
_________________
mfg
Steel
___________________

Heim-PC: AMD Ryzen 5950X, 64GB RAM, GTX 1080
Laptop: Intel Core i5-4300U, 16GB RAM, Intel Graphic
Arbeit-PC: Intel i5-1145G7, 16GB RAM, Intel Iris Xe Graphic (leider WSL2)
Back to top
View user's profile Send private message
firefly
Watchman
Watchman


Joined: 31 Oct 2002
Posts: 5232

PostPosted: Fri Jan 18, 2008 5:41 pm    Post subject: Reply with quote

Max Steel wrote:
Ich weiß jetzt nicht inwieweit es solche noc** Flags für gcc gibt, aber du könntest mal versuchsweise so compilen:
USE="-*" emerge -a1 gcc

Und dann schauen ob das beser geht.

Quote:
euse -i nocxx
global use flags (searching: nocxx)
************************************************************
[- ] nocxx - Disable support for C++ (DON'T USE THIS UNLESS YOU KNOW WHAT YOU'RE DOING)

Quote:
emerge -pv sys-devel/gcc

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild R ] sys-devel/gcc-4.1.2 USE="d gcj gtk mudflap nls (-altivec) -bootstrap -build -doc -fortran (-hardened) -ip28 -ip32r10k (-multilib) -multislot (-n32) (-n64) -nocxx -objc -objc++ -objc-gc -test -vanilla" 0 kB


blasphemer gib mal am besten die ausgabe von
Code:
emerge -pv sys-devel/gcc

_________________
Ein Ring, sie zu knechten, sie alle zu finden,
Ins Dunkel zu treiben und ewig zu binden
Im Lande Mordor, wo die Schatten drohn.
Back to top
View user's profile Send private message
blasphemer
n00b
n00b


Joined: 21 Dec 2007
Posts: 40

PostPosted: Fri Jan 18, 2008 5:46 pm    Post subject: Reply with quote

hier is die ausgabe:
Code:
localhost venom # emerge -pv sys-devel/gcc

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] sys-devel/gcc-4.1.2  USE="bootstrap build d doc fortran gcj gtk ip28 ip32r10k mudflap multislot nls objc objc++ test (-altivec) (-hardened) (-multilib) (-n32) (-n64) -nocxx -objc-gc -vanilla" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB
Back to top
View user's profile Send private message
firefly
Watchman
Watchman


Joined: 31 Oct 2002
Posts: 5232

PostPosted: Fri Jan 18, 2008 6:26 pm    Post subject: Reply with quote

hmm mal nen test ob der c++ compiler überhaupt installiert ist:

folgender c++-code:
Code:
#include <iostream>

int main()
 {
    std::cout<<"Hello World ;)\n";
    return 0;
 }

in einer datei speichern z.b. test.cpp(diesen dateinamen werde ich weiterverwenden)

und dann mit
Code:
g++ test.cpp -o test.x86

den Code übersetzen.
Wenn das klappt dann ist zumindestens der c++ compiler mit großer warscheinlichkeit sauber installiert.
_________________
Ein Ring, sie zu knechten, sie alle zu finden,
Ins Dunkel zu treiben und ewig zu binden
Im Lande Mordor, wo die Schatten drohn.
Back to top
View user's profile Send private message
firefly
Watchman
Watchman


Joined: 31 Oct 2002
Posts: 5232

PostPosted: Fri Jan 18, 2008 6:30 pm    Post subject: Reply with quote

ach ja was mir noch auffällt. Welchen Prozessor hast du den??

Wenn du einen relativ aktuellen Prozessor hast (>= Pentium2 und ähnlich), wiso ist der host auf "i486-pc-linux-gnu" eingestellt
_________________
Ein Ring, sie zu knechten, sie alle zu finden,
Ins Dunkel zu treiben und ewig zu binden
Im Lande Mordor, wo die Schatten drohn.
Back to top
View user's profile Send private message
blasphemer
n00b
n00b


Joined: 21 Dec 2007
Posts: 40

PostPosted: Fri Jan 18, 2008 6:58 pm    Post subject: Reply with quote

firefly wrote:
hmm mal nen test ob der c++ compiler überhaupt installiert ist:

folgender c++-code:
Code:
#include <iostream>

int main()
 {
    std::cout<<"Hello World ;)\n";
    return 0;
 }

in einer datei speichern z.b. test.cpp(diesen dateinamen werde ich weiterverwenden)

und dann mit
Code:
g++ test.cpp -o test.x86

den Code übersetzen.
Wenn das klappt dann ist zumindestens der c++ compiler mit großer warscheinlichkeit sauber installiert.


nein geht nich ...

der befehl g++ ist nicht vorhanden:
Code:

g++ test.cpp -o test.x86
bash: g++: command not found


aslo ich hab nen pentium 4 3.0 GHz
mh stimmt eigentl. was muesste da denn stehen, hab was das angeht nich soo die ahnung ... und wo muesste ich das eintragen?
Back to top
View user's profile Send private message
firefly
Watchman
Watchman


Joined: 31 Oct 2002
Posts: 5232

PostPosted: Fri Jan 18, 2008 7:19 pm    Post subject: Reply with quote

wegen CHOST(in der make.conf) siehe dieses howto: http://www.gentoo.org/doc/en/change-chost.xml bei dir sollte "i686-pc-linux-gnu" passen.

hmm wegen g++ und nicht gefunden. Was sagt
Code:
gcc-config -l

_________________
Ein Ring, sie zu knechten, sie alle zu finden,
Ins Dunkel zu treiben und ewig zu binden
Im Lande Mordor, wo die Schatten drohn.
Back to top
View user's profile Send private message
schachti
Advocate
Advocate


Joined: 28 Jul 2003
Posts: 3765
Location: Gifhorn, Germany

PostPosted: Fri Jan 18, 2008 7:20 pm    Post subject: Reply with quote

Was sagt denn

Code:

gcc-config -l


EDIT: zu langsam, ich werde alt. :wink:
_________________
Never argue with an idiot. He brings you down to his level, then beats you with experience.

How-To: Daten verschlüsselt auf DVD speichern.
Back to top
View user's profile Send private message
blasphemer
n00b
n00b


Joined: 21 Dec 2007
Posts: 40

PostPosted: Fri Jan 18, 2008 10:52 pm    Post subject: Reply with quote

schachti wrote:
Was sagt denn

Code:

gcc-config -l


EDIT: zu langsam, ich werde alt. :wink:


also gcc-config -l sagt:
Code:

localhost venom # gcc-config -l
 * gcc-config: No gcc profile is active!
 * gcc-config: No gcc profile is active; please select one!
 [1] i486-pc-linux-gnui-4.1.2


sollte ich die binutils, gcc und glibc reinstallen, wenn ich die chost geaendert habe?
Back to top
View user's profile Send private message
Max Steel
Advocate
Advocate


Joined: 12 Feb 2007
Posts: 2245
Location: My own world! I and Gentoo!

PostPosted: Fri Jan 18, 2008 11:04 pm    Post subject: Reply with quote

aaah okay, also erstmal gcc-config i486-pc-linux-gnui-4.1.2

danach env-update && source /etc/profile
danach sollte es wieder normal gehen.

Und ja, du sollst die binutils den gcc und den glibc neu bauen lassen wenn du die chost geändert hast.

ich glaube sogar laut der Anleitung, die dir bereits von firefly verlinkt wurde.

Am Schluiss würde ich um Sicherzugehen nocheinmal emerge -e system && emerge -e world laufen lassen.
Auch wenn das sehr lange dauert.
_________________
mfg
Steel
___________________

Heim-PC: AMD Ryzen 5950X, 64GB RAM, GTX 1080
Laptop: Intel Core i5-4300U, 16GB RAM, Intel Graphic
Arbeit-PC: Intel i5-1145G7, 16GB RAM, Intel Iris Xe Graphic (leider WSL2)


Last edited by Max Steel on Fri Jan 18, 2008 11:13 pm; edited 1 time in total
Back to top
View user's profile Send private message
firefly
Watchman
Watchman


Joined: 31 Oct 2002
Posts: 5232

PostPosted: Fri Jan 18, 2008 11:12 pm    Post subject: Reply with quote

blasphemer wrote:
schachti wrote:
Was sagt denn

Code:

gcc-config -l


EDIT: zu langsam, ich werde alt. :wink:


also gcc-config -l sagt:
Code:

localhost venom # gcc-config -l
 * gcc-config: No gcc profile is active!
 * gcc-config: No gcc profile is active; please select one!
 [1] i486-pc-linux-gnui-4.1.2


sollte ich die binutils, gcc und glibc reinstallen, wenn ich die chost geaendert habe?

Ah da ist der hund begraben. Da unter gentoo verschiedene gcc-Versionen nebeneinander installiert sein können ist g++ und co nur wrapper Binaries auf die eigentlichen Binaries.
Mach mal ein
Code:
gcc-config 1

danach sollte mein oben angegebener test funktionieren.

Wegen der Änderung der CHOST variable in der make.conf, halte dich einfach an das Howto das ich oben gepostet habe.
_________________
Ein Ring, sie zu knechten, sie alle zu finden,
Ins Dunkel zu treiben und ewig zu binden
Im Lande Mordor, wo die Schatten drohn.
Back to top
View user's profile Send private message
blasphemer
n00b
n00b


Joined: 21 Dec 2007
Posts: 40

PostPosted: Sat Jan 19, 2008 9:32 am    Post subject: Reply with quote

okey hab die architectur gechanged,
jetzt wollte ich emerge -e world ausführen, nun bekomm ich aber die Meldung das, das Paket

perl-core/Test-Harness mit einem anderen Paket kollidiert.
Aber welches Paket ist das? Oder hab ich schon wieder nen use flag falsch gesetzt :P

ich hab schon gegoogelt aber nichts brauchbarers gefunden und wenn ich mit pretend mache dann, bekomm ich auch nichts sinnvolles ...

Leider kann ich die Meldung nich posten, da ich gerade vom Laptop aus schreibe ...

ich sehe halt bloss das die Pakete Test-Harness und Locale-gettext, das paket dev-lang/perl blocken ...

aber diese beiden pakete sind nicht instaliert ...
Back to top
View user's profile Send private message
firefly
Watchman
Watchman


Joined: 31 Oct 2002
Posts: 5232

PostPosted: Sat Jan 19, 2008 9:37 am    Post subject: Reply with quote

blasphemer wrote:
okey hab die architectur gechanged,
jetzt wollte ich emerge -e world ausführen, nun bekomm ich aber die Meldung das, das Paket

perl-core/Test-Harness mit einem anderen Paket kollidiert.
Aber welches Paket ist das? Oder hab ich schon wieder nen use flag falsch gesetzt :P

ich hab schon gegoogelt aber nichts brauchbarers gefunden und wenn ich mit pretend mache dann, bekomm ich auch nichts sinnvolles ...

Leider kann ich die Meldung nich posten, da ich gerade vom Laptop aus schreibe ...

ich sehe halt bloss das die Pakete Test-Harness und Locale-gettext, das paket dev-lang/perl blocken ...

aber diese beiden pakete sind nicht instaliert ...

hmm vermutlich sollen die beiden pakete installiert werden aber die installierte version von dev-lang/perl blockiert dies
_________________
Ein Ring, sie zu knechten, sie alle zu finden,
Ins Dunkel zu treiben und ewig zu binden
Im Lande Mordor, wo die Schatten drohn.
Back to top
View user's profile Send private message
firefly
Watchman
Watchman


Joined: 31 Oct 2002
Posts: 5232

PostPosted: Sat Jan 19, 2008 9:41 am    Post subject: Reply with quote

du könntest ja die ausgabe per "befehl &> datei" in eine Datei umleiten und diese dann auf deinen Laptop übertragen (z.b. über usb-stick) und dann hier posten :)
Denn die genaue Fehlermeldung ist wichtig alles andere ist dann nur reine spekulation
_________________
Ein Ring, sie zu knechten, sie alle zu finden,
Ins Dunkel zu treiben und ewig zu binden
Im Lande Mordor, wo die Schatten drohn.
Back to top
View user's profile Send private message
blasphemer
n00b
n00b


Joined: 21 Dec 2007
Posts: 40

PostPosted: Sat Jan 19, 2008 12:36 pm    Post subject: Reply with quote

so hab die beiden ausgaben mal abgespeichert ...

hab die dateien hier hochgeladen:
http://download.yousendit.com/1613E598709C269B
http://download.yousendit.com/B26D55DC50896A6A

hoffe das hilft euch weiter.
Oder sollte ich einfach mal die perl version deinstallieren und dann nochmal emerge -e world ausprobieren?
Back to top
View user's profile Send private message
blasphemer
n00b
n00b


Joined: 21 Dec 2007
Posts: 40

PostPosted: Sat Jan 19, 2008 1:40 pm    Post subject: Reply with quote

oehm

ich hab das problem geloest in dem ich einfach Test-harness emerged hab :D :D
und jetzt kann ich den Befehl emerge -e world ausführen.

ma gucken obs soweit alles funktioniert, dauert ja erstmal nen weilchen bis der fertig is
Back to top
View user's profile Send private message
blasphemer
n00b
n00b


Joined: 21 Dec 2007
Posts: 40

PostPosted: Sat Jan 19, 2008 1:54 pm    Post subject: Reply with quote

also so wie es aussieht gibts den c++ compiler immer noch nich.
Er hat bei dem Paket dev-libs/gmp-4.2.2

hier is die config.log:
Code:

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by GNU MP configure 4.2.2, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --localstatedir=/var/state/gmp --disable-mpfr --disable-mpbsd --enable-cxx --build=i686-pc-linux-gnu

## --------- ##
## Platform. ##
## --------- ##

hostname = localhost
uname -m = i686
uname -r = 2.6.23-gentoo-r3
uname -s = Linux
uname -v = #7 SMP Fri Dec 28 10:08:05 CET 2007

/usr/bin/uname -p = Intel(R) Pentium(R) 4 CPU 3.00GHz
/bin/uname -X     = unknown

/bin/arch              = i686
/usr/bin/arch -k       = i686
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/local/sbin
PATH: /sbin
PATH: /usr/sbin
PATH: /usr/lib/portage/bin
PATH: /usr/local/bin
PATH: /bin
PATH: /usr/bin
PATH: /opt/bin
PATH: /usr/i486-pc-linux-gnui/gcc-bin/4.1.2
PATH: /usr/i686-pc-linux-gnu/gcc-bin/4.1.2
PATH: /opt/sun-jdk-1.4.2.16/bin
PATH: /opt/sun-jdk-1.4.2.16/jre/bin
PATH: /opt/sun-jdk-1.4.2.16/jre/javaws
PATH: /usr/kde/3.5/sbin
PATH: /usr/kde/3.5/bin
PATH: /usr/qt/3/bin
PATH: /opt/vmware/workstation/bin
PATH: /opt/XnView


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1654: checking build system type
configure:1672: result: i686-pc-linux-gnu
configure:1680: checking host system type
configure:1694: result: i686-pc-linux-gnu
configure:1717: checking for a BSD-compatible install
configure:1772: result: /usr/bin/install -c
configure:1783: checking whether build environment is sane
configure:1826: result: yes
configure:1883: checking for gawk
configure:1899: found /bin/gawk
configure:1909: result: gawk
configure:1919: checking whether make sets $(MAKE)
configure:1939: result: yes
configure:2105: checking whether to enable maintainer-specific portions of Makefiles
configure:2114: result: no
User:
GMPABI=
CC=
CFLAGS=-O2 -mtune=i686 -pipe
CPPFLAGS=(unset)
MPN_PATH=
GMP:
abilist=32
cclist=gcc icc cc
configure:3797: gcc 2>&1 | grep xlc >/dev/null
configure:3800: $? = 1
configure:3854: checking compiler gcc -O2 -mtune=i686 -pipe
Test compile:
configure:3868: gcc -O2 -mtune=i686 -pipe  conftest.c >&5
configure:3871: $? = 0
configure:3876: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
configure:3879: $? = 0
Test compile: function pointer return
configure:3922: gcc -O2 -mtune=i686 -pipe  conftest.c >&5
configure:3925: $? = 0
configure:3930: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
configure:3933: $? = 0
Test compile: cmov instruction
configure:3978: gcc -O2 -mtune=i686 -pipe  conftest.c >&5
configure:3981: $? = 0
configure:3986: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
configure:3989: $? = 0
Test compile: double -> ulong conversion
configure:4035: gcc -O2 -mtune=i686 -pipe  conftest.c >&5
configure:4038: $? = 0
configure:4043: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
configure:4046: $? = 0
Test compile: double negation
configure:4090: gcc -O2 -mtune=i686 -pipe  conftest.c >&5
configure:4093: $? = 0
configure:4098: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
configure:4101: $? = 0
Test compile: double -> float conversion
configure:4146: gcc -O2 -mtune=i686 -pipe  conftest.c >&5
configure:4149: $? = 0
configure:4154: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
configure:4157: $? = 0
Test compile: gnupro alpha ev6 char spilling
configure:4230: gcc -O2 -mtune=i686 -pipe  conftest.c >&5
conftest.c: In function 'param_init':
conftest.c:18: warning: incompatible implicit declaration of built-in function 'memcpy'
configure:4233: $? = 0
configure:4238: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
configure:4241: $? = 0
Test compile: __builtin_alloca availability
configure:4281: gcc -O2 -mtune=i686 -pipe  conftest.c >&5
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../crt1.o: In function `_start':
(.text+0x18): undefined reference to `main'
collect2: ld returned 1 exit status
configure:4284: $? = 1
failed program was:
int k; int foo () { __builtin_alloca (k); }
Test compile: abs int -> double conversion
configure:4405: gcc -O2 -mtune=i686 -pipe  conftest.c >&5
configure:4408: $? = 0
configure:4413: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
configure:4416: $? = 0
Test compile: long long reliability test 1
configure:4469: gcc -O2 -mtune=i686 -pipe  conftest.c >&5
configure:4472: $? = 0
configure:4477: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
configure:4480: $? = 0
Test compile: long long reliability test 2
configure:4529: gcc -O2 -mtune=i686 -pipe  conftest.c >&5
configure:4532: $? = 0
configure:4537: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
configure:4540: $? = 0
Test compile: mpn_lshift_com optimization
configure:4620: gcc -O2 -mtune=i686 -pipe  conftest.c >&5
configure:4623: $? = 0
configure:4628: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
configure:4631: $? = 0
Test compile: mpn_lshift_com optimization 2
configure:4720: gcc -O2 -mtune=i686 -pipe  conftest.c >&5
configure:4723: $? = 0
configure:4728: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
configure:4731: $? = 0
Testing gcc GOT with eax emitted
configure:4779: gcc -O2 -mtune=i686 -pipe  -fPIC -S conftest.c >&5 2>&1
configure:4782: $? = 0
Result: no
configure:4877: result: yes
configure: testlist sizeof-long-4
configure:5052: checking compiler gcc -O2 -mtune=i686 -pipe has sizeof(long)==4
configure:5065: gcc -O2 -mtune=i686 -pipe -c conftest.c >&5
configure:5068: $? = 0
configure:5073: result: yes
configure:6480: checking for i686-pc-linux-gnu-gcc
configure:6506: result: gcc
configure:6788: checking for C compiler version
configure:6791: gcc --version </dev/null >&5
gcc (GCC) 4.1.2 20070214 (  (gdc 0.24, using dmd 1.020)) (Gentoo 4.1.2 p1.0.2)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:6794: $? = 0
configure:6796: gcc -v </dev/null >&5
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: /var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.1.2 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.2 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.2/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.2/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --disable-nls --with-system-zlib --disable-checking --disable-werror --enable-secureplt --disable-libunwind-exceptions --disable-multilib --enable-libmudflap --disable-libssp --disable-libgcj --with-arch=i686 --enable-languages=c --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 4.1.2 20070214 (  (gdc 0.24, using dmd 1.020)) (Gentoo 4.1.2 p1.0.2)
configure:6799: $? = 0
configure:6801: gcc -V </dev/null >&5
gcc: '-V' option must have argument
configure:6804: $? = 1
configure:6827: checking for C compiler default output file name
configure:6830: gcc -O2 -mtune=i686 -pipe   conftest.c  >&5
configure:6833: $? = 0
configure:6879: result: a.out
configure:6884: checking whether the C compiler works
configure:6890: ./a.out
configure:6893: $? = 0
configure:6910: result: yes
configure:6917: checking whether we are cross compiling
configure:6919: result: no
configure:6922: checking for suffix of executables
configure:6924: gcc -o conftest -O2 -mtune=i686 -pipe   conftest.c  >&5
configure:6927: $? = 0
configure:6952: result:
configure:6958: checking for suffix of object files
configure:6979: gcc -c -O2 -mtune=i686 -pipe  conftest.c >&5
configure:6982: $? = 0
configure:7004: result: o
configure:7008: checking whether we are using the GNU C compiler
configure:7032: gcc -c -O2 -mtune=i686 -pipe  conftest.c >&5
configure:7038: $? = 0
configure:7042: test -z
          || test ! -s conftest.err
configure:7045: $? = 0
configure:7048: test -s conftest.o
configure:7051: $? = 0
configure:7064: result: yes
configure:7070: checking whether gcc accepts -g
configure:7091: gcc -c -g  conftest.c >&5
configure:7097: $? = 0
configure:7101: test -z
          || test ! -s conftest.err
configure:7104: $? = 0
configure:7107: test -s conftest.o
configure:7110: $? = 0
configure:7121: result: yes
configure:7138: checking for gcc option to accept ANSI C
configure:7208: gcc  -c -O2 -mtune=i686 -pipe  conftest.c >&5
configure:7214: $? = 0
configure:7218: test -z
          || test ! -s conftest.err
configure:7221: $? = 0
configure:7224: test -s conftest.o
configure:7227: $? = 0
configure:7245: result: none needed
configure:7263: gcc -c -O2 -mtune=i686 -pipe  conftest.c >&5
conftest.c:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'me'
configure:7269: $? = 1
configure: failed program was:
| #ifndef __cplusplus
|   choke me
| #endif
configure:7408: checking how to run the C preprocessor
configure:7443: gcc -E  conftest.c
configure:7449: $? = 0
configure:7481: gcc -E  conftest.c
conftest.c:15:28: error: ac_nonexistent.h: No such file or directory
configure:7487: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "GNU MP"
| #define PACKAGE_TARNAME "gmp"
| #define PACKAGE_VERSION "4.2.2"
| #define PACKAGE_STRING "GNU MP 4.2.2"
| #define PACKAGE_BUGREPORT "gmp-bugs@swox.com"
| #define PACKAGE "gmp"
| #define VERSION "4.2.2"
| #define WANT_FFT 1
| #define HAVE_HOST_CPU_i686 1
| #define HAVE_SPEED_CYCLECOUNTER 2
| #define HAVE_CALLING_CONVENTIONS 1
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:7526: result: gcc -E
configure:7550: gcc -E  conftest.c
configure:7556: $? = 0
configure:7588: gcc -E  conftest.c
conftest.c:15:28: error: ac_nonexistent.h: No such file or directory
configure:7594: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "GNU MP"
| #define PACKAGE_TARNAME "gmp"
| #define PACKAGE_VERSION "4.2.2"
| #define PACKAGE_STRING "GNU MP 4.2.2"
| #define PACKAGE_BUGREPORT "gmp-bugs@swox.com"
| #define PACKAGE "gmp"
| #define VERSION "4.2.2"
| #define WANT_FFT 1
| #define HAVE_HOST_CPU_i686 1
| #define HAVE_SPEED_CYCLECOUNTER 2
| #define HAVE_CALLING_CONVENTIONS 1
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:7669: gcc -c -O2 -mtune=i686 -pipe  conftest.c >&5
configure:7675: $? = 0
configure:7679: test -z
          || test ! -s conftest.err
configure:7682: $? = 0
configure:7685: test -s conftest.o
configure:7688: $? = 0
configure:7776: checking build system compiler gcc
configure:7789: gcc conftest.c
conftest.c: In function 'main':
conftest.c:4: warning: incompatible implicit declaration of built-in function 'exit'
configure:7792: $? = 0
configure:7799: result: yes
configure:7820: checking for build system preprocessor
configure:7831: gcc -E conftest.c
# 1 "conftest.c"
# 1 "<built-in>"
# 1 "<command line>"
# 1 "conftest.c"
configure:7834: $? = 0
configure:7851: result: gcc -E
configure:7858: checking for build system executable suffix
configure:7872: gcc conftest.c -o conftest.exe
conftest.c: In function 'main':
conftest.c:4: warning: incompatible implicit declaration of built-in function 'exit'
configure:7875: $? = 0
./configure: line 7877: ./conftest: No such file or directory
configure:7872: gcc conftest.c -o conftest,ff8
conftest.c: In function 'main':
conftest.c:4: warning: incompatible implicit declaration of built-in function 'exit'
configure:7875: $? = 0
./configure: line 7877: ./conftest: No such file or directory
configure:7872: gcc conftest.c -o conftest
conftest.c: In function 'main':
conftest.c:4: warning: incompatible implicit declaration of built-in function 'exit'
configure:7875: $? = 0
configure:7891: result:
configure:7897: checking whether build system compiler is ANSI
configure:7910: gcc conftest.c
conftest.c: In function 'main':
conftest.c:4: warning: incompatible implicit declaration of built-in function 'exit'
configure:7913: $? = 0
configure:7922: result: yes
configure:7932: checking for build system compiler math library
configure:7951: gcc conftest.c -lm
conftest.c: In function 'main':
conftest.c:4: warning: incompatible implicit declaration of built-in function 'exit'
conftest.c: In function 'foo':
conftest.c:10: warning: incompatible implicit declaration of built-in function 'log'
configure:7954: $? = 0
configure:7963: result: -lm
configure:7996: checking for i686-pc-linux-gnu-g++
configure:8025: result: no
configure:7996: checking for i686-pc-linux-gnu-c++
configure:8025: result: no
configure:7996: checking for i686-pc-linux-gnu-gpp
configure:8025: result: no
configure:7996: checking for i686-pc-linux-gnu-aCC
configure:8025: result: no
configure:7996: checking for i686-pc-linux-gnu-CC
configure:8025: result: no
configure:7996: checking for i686-pc-linux-gnu-cxx
configure:8025: result: no
configure:7996: checking for i686-pc-linux-gnu-cc++
configure:8025: result: no
configure:7996: checking for i686-pc-linux-gnu-cl
configure:8025: result: no
configure:7996: checking for i686-pc-linux-gnu-FCC
configure:8025: result: no
configure:7996: checking for i686-pc-linux-gnu-KCC
configure:8025: result: no
configure:7996: checking for i686-pc-linux-gnu-RCC
configure:8025: result: no
configure:7996: checking for i686-pc-linux-gnu-xlC_r
configure:8025: result: no
configure:7996: checking for i686-pc-linux-gnu-xlC
configure:8025: result: no
configure:8038: checking for g++
configure:8067: result: no
configure:8038: checking for c++
configure:8067: result: no
configure:8038: checking for gpp
configure:8067: result: no
configure:8038: checking for aCC
configure:8067: result: no
configure:8038: checking for CC
configure:8067: result: no
configure:8038: checking for cxx
configure:8067: result: no
configure:8038: checking for cc++
configure:8067: result: no
configure:8038: checking for cl
configure:8067: result: no
configure:8038: checking for FCC
configure:8067: result: no
configure:8038: checking for KCC
configure:8067: result: no
configure:8038: checking for RCC
configure:8067: result: no
configure:8038: checking for xlC_r
configure:8067: result: no
configure:8038: checking for xlC
configure:8067: result: no
configure:8080: checking for C++ compiler version
configure:8083: g++ --version </dev/null >&5
./configure: line 8084: g++: command not found
configure:8086: $? = 127
configure:8088: g++ -v </dev/null >&5
./configure: line 8089: g++: command not found
configure:8091: $? = 127
configure:8093: g++ -V </dev/null >&5
./configure: line 8094: g++: command not found
configure:8096: $? = 127
configure:8099: checking whether we are using the GNU C++ compiler
configure:8123: g++ -c -O2 -mtune=i686 -pipe  conftest.cc >&5
./configure: line 8124: g++: command not found
configure:8129: $? = 127
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "GNU MP"
| #define PACKAGE_TARNAME "gmp"
| #define PACKAGE_VERSION "4.2.2"
| #define PACKAGE_STRING "GNU MP 4.2.2"
| #define PACKAGE_BUGREPORT "gmp-bugs@swox.com"
| #define PACKAGE "gmp"
| #define VERSION "4.2.2"
| #define WANT_FFT 1
| #define HAVE_HOST_CPU_i686 1
| #define HAVE_SPEED_CYCLECOUNTER 2
| #define HAVE_CALLING_CONVENTIONS 1
| /* end confdefs.h.  */
|
| int
| main ()
| {
| #ifndef __GNUC__
|        choke me
| #endif
|
|   ;
|   return 0;
| }
configure:8155: result: no
configure:8161: checking whether g++ accepts -g
configure:8182: g++ -c -g  conftest.cc >&5
./configure: line 8183: g++: command not found
configure:8188: $? = 127
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "GNU MP"
| #define PACKAGE_TARNAME "gmp"
| #define PACKAGE_VERSION "4.2.2"
| #define PACKAGE_STRING "GNU MP 4.2.2"
| #define PACKAGE_BUGREPORT "gmp-bugs@swox.com"
| #define PACKAGE "gmp"
| #define VERSION "4.2.2"
| #define WANT_FFT 1
| #define HAVE_HOST_CPU_i686 1
| #define HAVE_SPEED_CYCLECOUNTER 2
| #define HAVE_CALLING_CONVENTIONS 1
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:8212: result: no
configure:8254: g++ -c -O2 -mtune=i686 -pipe  conftest.cc >&5
./configure: line 8255: g++: command not found
configure:8260: $? = 127
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "GNU MP"
| #define PACKAGE_TARNAME "gmp"
| #define PACKAGE_VERSION "4.2.2"
| #define PACKAGE_STRING "GNU MP 4.2.2"
| #define PACKAGE_BUGREPORT "gmp-bugs@swox.com"
| #define PACKAGE "gmp"
| #define VERSION "4.2.2"
| #define WANT_FFT 1
| #define HAVE_HOST_CPU_i686 1
| #define HAVE_SPEED_CYCLECOUNTER 2
| #define HAVE_CALLING_CONVENTIONS 1
| /* end confdefs.h.  */
|
| #include <stdlib.h>
| int
| main ()
| {
| exit (42);
|   ;
|   return 0;
| }
configure:8254: g++ -c -O2 -mtune=i686 -pipe  conftest.cc >&5
./configure: line 8255: g++: command not found
configure:8260: $? = 127
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "GNU MP"
| #define PACKAGE_TARNAME "gmp"
| #define PACKAGE_VERSION "4.2.2"
| #define PACKAGE_STRING "GNU MP 4.2.2"
| #define PACKAGE_BUGREPORT "gmp-bugs@swox.com"
| #define PACKAGE "gmp"
| #define VERSION "4.2.2"
| #define WANT_FFT 1
| #define HAVE_HOST_CPU_i686 1
| #define HAVE_SPEED_CYCLECOUNTER 2
| #define HAVE_CALLING_CONVENTIONS 1
| /* end confdefs.h.  */
| extern "C" void std::exit (int) throw (); using std::exit;
| #include <stdlib.h>
| int
| main ()
| {
| exit (42);
|   ;
|   return 0;
| }
configure:8254: g++ -c -O2 -mtune=i686 -pipe  conftest.cc >&5
./configure: line 8255: g++: command not found
configure:8260: $? = 127
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "GNU MP"
| #define PACKAGE_TARNAME "gmp"
| #define PACKAGE_VERSION "4.2.2"
| #define PACKAGE_STRING "GNU MP 4.2.2"
| #define PACKAGE_BUGREPORT "gmp-bugs@swox.com"
| #define PACKAGE "gmp"
| #define VERSION "4.2.2"
| #define WANT_FFT 1
| #define HAVE_HOST_CPU_i686 1
| #define HAVE_SPEED_CYCLECOUNTER 2
| #define HAVE_CALLING_CONVENTIONS 1
| /* end confdefs.h.  */
| extern "C" void std::exit (int); using std::exit;
| #include <stdlib.h>
| int
| main ()
| {
| exit (42);
|   ;
|   return 0;
| }
configure:8254: g++ -c -O2 -mtune=i686 -pipe  conftest.cc >&5
./configure: line 8255: g++: command not found
configure:8260: $? = 127
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "GNU MP"
| #define PACKAGE_TARNAME "gmp"
| #define PACKAGE_VERSION "4.2.2"
| #define PACKAGE_STRING "GNU MP 4.2.2"
| #define PACKAGE_BUGREPORT "gmp-bugs@swox.com"
| #define PACKAGE "gmp"
| #define VERSION "4.2.2"
| #define WANT_FFT 1
| #define HAVE_HOST_CPU_i686 1
| #define HAVE_SPEED_CYCLECOUNTER 2
| #define HAVE_CALLING_CONVENTIONS 1
| /* end confdefs.h.  */
| extern "C" void exit (int) throw ();
| #include <stdlib.h>
| int
| main ()
| {
| exit (42);
|   ;
|   return 0;
| }
configure:8254: g++ -c -O2 -mtune=i686 -pipe  conftest.cc >&5
./configure: line 8255: g++: command not found
configure:8260: $? = 127
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "GNU MP"
| #define PACKAGE_TARNAME "gmp"
| #define PACKAGE_VERSION "4.2.2"
| #define PACKAGE_STRING "GNU MP 4.2.2"
| #define PACKAGE_BUGREPORT "gmp-bugs@swox.com"
| #define PACKAGE "gmp"
| #define VERSION "4.2.2"
| #define WANT_FFT 1
| #define HAVE_HOST_CPU_i686 1
| #define HAVE_SPEED_CYCLECOUNTER 2
| #define HAVE_CALLING_CONVENTIONS 1
| /* end confdefs.h.  */
| extern "C" void exit (int);
| #include <stdlib.h>
| int
| main ()
| {
| exit (42);
|   ;
|   return 0;
| }
configure:8254: g++ -c -O2 -mtune=i686 -pipe  conftest.cc >&5
./configure: line 8255: g++: command not found
configure:8260: $? = 127
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "GNU MP"
| #define PACKAGE_TARNAME "gmp"
| #define PACKAGE_VERSION "4.2.2"
| #define PACKAGE_STRING "GNU MP 4.2.2"
| #define PACKAGE_BUGREPORT "gmp-bugs@swox.com"
| #define PACKAGE "gmp"
| #define VERSION "4.2.2"
| #define WANT_FFT 1
| #define HAVE_HOST_CPU_i686 1
| #define HAVE_SPEED_CYCLECOUNTER 2
| #define HAVE_CALLING_CONVENTIONS 1
| /* end confdefs.h.  */
| void exit (int);
| #include <stdlib.h>
| int
| main ()
| {
| exit (42);
|   ;
|   return 0;
| }
CXXFLAGS chosen by autoconf: -O2 -mtune=i686 -pipe
configure:8368: checking C++ compiler g++  -O2 -mtune=i686 -pipe
Test compile:
configure:8382: g++  -O2 -mtune=i686 -pipe conftest.cc >&5
./configure: line 8383: g++: command not found
configure:8385: $? = 127
failed program was:

int main (void) { return 0; }
configure:8497: result: no
configure:8513: error: C++ compiler not available, see config.log for details

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=i686-pc-linux-gnu
ac_cv_build_alias=i686-pc-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_cxx_compiler_gnu=no
ac_cv_env_CC_FOR_BUILD_set=
ac_cv_env_CC_FOR_BUILD_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-O2 -mtune=i686 -pipe'
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_FOR_BUILD_set=
ac_cv_env_CPP_FOR_BUILD_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=set
ac_cv_env_CXXFLAGS_value='-O2 -mtune=i686 -pipe'
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_GMPABI_set=
ac_cv_env_GMPABI_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_M4_set=
ac_cv_env_M4_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=i686-pc-linux-gnu
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=i686-pc-linux-gnu
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_exeext=
ac_cv_host=i686-pc-linux-gnu
ac_cv_host_alias=i686-pc-linux-gnu
ac_cv_objext=o
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_CC=gcc
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_cxx_g=no
ac_cv_prog_make_make_set=yes
gmp_cv_c_for_build_ansi=yes
gmp_cv_check_libm_for_build=-lm
gmp_cv_prog_cpp_for_build='gcc -E'
gmp_cv_prog_exeext_for_build=

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /var/tmp/portage/dev-libs/gmp-4.2.2/work/gmp-4.2.2/missing --run aclocal-1.8'
AMTAR='${SHELL} /var/tmp/portage/dev-libs/gmp-4.2.2/work/gmp-4.2.2/missing --run tar'
ANSI2KNR=''
AR=''
AS=''
AUTOCONF='${SHELL} /var/tmp/portage/dev-libs/gmp-4.2.2/work/gmp-4.2.2/missing --run autoconf'
AUTOHEADER='${SHELL} /var/tmp/portage/dev-libs/gmp-4.2.2/work/gmp-4.2.2/missing --run autoheader'
AUTOMAKE='${SHELL} /var/tmp/portage/dev-libs/gmp-4.2.2/work/gmp-4.2.2/missing --run automake-1.8'
AWK='gawk'
BITS_PER_MP_LIMB=''
CALLING_CONVENTIONS_OBJS='x86call.lo x86check$U.lo'
CC='gcc'
CCAS='gcc -c'
CC_FOR_BUILD='gcc'
CFLAGS='-O2 -mtune=i686 -pipe'
CPP='gcc -E'
CPPFLAGS=''
CPP_FOR_BUILD='gcc -E'
CXX='g++'
CXXCPP=''
CXXFLAGS='-O2 -mtune=i686 -pipe'
CYGPATH_W='echo'
DEFN_LONG_LONG_LIMB='/* #undef _LONG_LONG_LIMB */'
DEFS=''
DLLTOOL=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ENABLE_STATIC_FALSE=''
ENABLE_STATIC_TRUE=''
EXEEXT=''
EXEEXT_FOR_BUILD=''
GMPABI='32'
GMP_LDFLAGS=''
GMP_NAIL_BITS='0'
HAVE_CLOCK_01=''
HAVE_CPUTIME_01=''
HAVE_GETRUSAGE_01=''
HAVE_GETTIMEOFDAY_01=''
HAVE_HOST_CPU_FAMILY_power='0'
HAVE_HOST_CPU_FAMILY_powerpc='0'
HAVE_SIGACTION_01=''
HAVE_SIGALTSTACK_01=''
HAVE_SIGSTACK_01=''
HAVE_STACK_T_01=''
HAVE_SYS_RESOURCE_H_01=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
LDFLAGS=''
LEX=''
LEXLIB=''
LEX_OUTPUT_ROOT=''
LIBCURSES=''
LIBGMPXX_LDFLAGS=''
LIBGMP_DLL=''
LIBGMP_LDFLAGS=''
LIBM=''
LIBM_FOR_BUILD='-lm'
LIBOBJS=''
LIBREADLINE=''
LIBS=''
LIBTOOL=''
LN_S=''
LTLIBOBJS=''
M4=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /var/tmp/portage/dev-libs/gmp-4.2.2/work/gmp-4.2.2/missing --run makeinfo'
OBJDUMP=''
OBJEXT='o'
PACKAGE='gmp'
PACKAGE_BUGREPORT='gmp-bugs@swox.com'
PACKAGE_NAME='GNU MP'
PACKAGE_STRING='GNU MP 4.2.2'
PACKAGE_TARNAME='gmp'
PACKAGE_VERSION='4.2.2'
PATH_SEPARATOR=':'
RANLIB=''
SED=''
SET_MAKE=''
SHELL='/bin/sh'
SPEED_CYCLECOUNTER_OBJ='pentium.lo'
STRIP=''
TAL_OBJECT=''
TUNE_SQR_OBJ=''
U=''
U_FOR_BUILD=''
VERSION='4.2.2'
WANT_CXX_FALSE=''
WANT_CXX_TRUE=''
WANT_MPBSD_FALSE=''
WANT_MPBSD_TRUE='#'
WITH_READLINE_01=''
YACC=''
ac_ct_AR=''
ac_ct_AS=''
ac_ct_CC=''
ac_ct_CXX='g++'
ac_ct_DLLTOOL=''
ac_ct_OBJDUMP=''
ac_ct_RANLIB=''
ac_ct_STRIP=''
am__leading_dot='.'
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnu'
build_alias='i686-pc-linux-gnu'
build_cpu='i686'
build_os='linux-gnu'
build_vendor='pc'
datadir='/usr/share'
exec_prefix='NONE'
gmp_srclinks=''
host='i686-pc-linux-gnu'
host_alias='i686-pc-linux-gnu'
host_cpu='i686'
host_os='linux-gnu'
host_vendor='pc'
includedir='${prefix}/include'
infodir='/usr/share/info'
install_sh='/var/tmp/portage/dev-libs/gmp-4.2.2/work/gmp-4.2.2/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='/var/state/gmp'
mandir='/usr/share/man'
mkdir_p='mkdir -p -- .'
mpn_objects=''
mpn_objs_in_libgmp=''
mpn_objs_in_libmp=''
oldincludedir='/usr/include'
prefix='/usr'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define HAVE_CALLING_CONVENTIONS 1
#define HAVE_HOST_CPU_i686 1
#define HAVE_SPEED_CYCLECOUNTER 2
#define PACKAGE "gmp"
#define PACKAGE_BUGREPORT "gmp-bugs@swox.com"
#define PACKAGE_NAME "GNU MP"
#define PACKAGE_STRING "GNU MP 4.2.2"
#define PACKAGE_TARNAME "gmp"
#define PACKAGE_VERSION "4.2.2"
#define VERSION "4.2.2"
#define WANT_FFT 1
#endif
#ifdef __cplusplus
void exit (int);

configure: exit 1


Warum fehlt denn immer der c++ compiler ist der nich mit in den paketen glibc oder gcc mit enthalten?
Back to top
View user's profile Send private message
firefly
Watchman
Watchman


Joined: 31 Oct 2002
Posts: 5232

PostPosted: Sat Jan 19, 2008 6:07 pm    Post subject: Reply with quote

der g++/c++ ist in sys-devel/gcc enthalten (wenn nicht nocxx gesetzt ist)
nachdem du die CHOST variable geändert hast, hast du dann ein
Code:
emerge -av1 binutils gcc glibc
ausgeführt? (wie es auch im howto steht)

wenn ja mit gcc-config nochmal kontrollieren ob ein gültiges gcc profil ausgewählt wurde.

danach ein
Code:
env-update && source /etc/profile
dann sollte
Code:
g++ --version

sowas ähnliches wie das hier ausspucken:
Quote:
g++ (GCC) 4.1.2 20070214 ( (gdc 0.24, using dmd 1.020)) (Gentoo 4.1.2 p1.0.2)
Copyright (C) 2006 Free Software Foundation, Inc.
Dies ist freie Software; die Kopierbedingungen stehen in den Quellen. Es
gibt KEINE Garantie; auch nicht für MARKTGÄNGIGKEIT oder FÜR SPEZIELLE ZWECKE.

_________________
Ein Ring, sie zu knechten, sie alle zu finden,
Ins Dunkel zu treiben und ewig zu binden
Im Lande Mordor, wo die Schatten drohn.
Back to top
View user's profile Send private message
blasphemer
n00b
n00b


Joined: 21 Dec 2007
Posts: 40

PostPosted: Sat Jan 19, 2008 6:35 pm    Post subject: Reply with quote

das hab ich alles gemacht, bloss leider hab ich immer noch nich den befehl g++

ich werde das tutorial einfach nochmal ausprobieren.


Last edited by blasphemer on Sat Jan 19, 2008 6:43 pm; edited 1 time in total
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
Goto page 1, 2, 3  Next
Page 1 of 3

 
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