Sie sind nicht angemeldet.

1

28.09.2010, 16:58

configure: error: C compiler cannot create executables

Hallo zusammen,

ich habe heute wieder einmal in meinem Gentoo 64bit (~amd64) emerge --sync durchgeführt.

Danach wie immer: emerge -avuDN world

Doch seltsamerweise lässt sich kein Paket mehr emergen.

Grund siehe in der folgenden log-Datei:

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
* Package:    dev-libs/mpfr-3.0.0_p3
 * Repository: gentoo
 * Maintainer: toolchain@gentoo.org
 * USE:  amd64 elibc_glibc kernel_linux multilib userland_GNU
>>> Unpacking source...
>>> Unpacking mpfr-3.0.0.tar.bz2 to /var/tmp/portage/dev-libs/mpfr-3.0.0_p3/work
 * Applying patch01 ...
 [ ok ]
 * Applying patch02 ...
 [ ok ]
 * Applying patch03 ...
 [ ok ]
>>> Source unpacked in /var/tmp/portage/dev-libs/mpfr-3.0.0_p3/work
>>> Compiling source in /var/tmp/portage/dev-libs/mpfr-3.0.0_p3/work/mpfr-3.0.0 ...
 * econf: updating mpfr-3.0.0/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating mpfr-3.0.0/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to disable maintainer-specific portions of Makefiles... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /usr/lib64/portage/bin/ebuild-helpers/sed
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking whether the C compiler works... no
configure: error: in `/var/tmp/portage/dev-libs/mpfr-3.0.0_p3/work/mpfr-3.0.0':
configure: error: C compiler cannot create executables
See `config.log' for more details.

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/dev-libs/mpfr-3.0.0_p3/work/mpfr-3.0.0/config.log
 * ERROR: dev-libs/mpfr-3.0.0_p3 failed:
 *   econf failed
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 2317:  Called _eapi0_src_compile
 *     ebuild.sh, line  624:  Called econf
 *     ebuild.sh, line  558:  Called die
 * The specific snippet of code:
 *   			die "econf failed"
 * 
 * If you need support, post the output of 'emerge --info =dev-libs/mpfr-3.0.0_p3',
 * the complete build log and the output of 'emerge -pqv =dev-libs/mpfr-3.0.0_p3'.
 * The complete build log is located at '/var/tmp/portage/dev-libs/mpfr-3.0.0_p3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/mpfr-3.0.0_p3/temp/environment'.
 * S: '/var/tmp/portage/dev-libs/mpfr-3.0.0_p3/work/mpfr-3.0.0'


Der compiler funktioniert nicht.
Installiert ist nach Auskunft von eix: Version 4.3.4.
Wenn ich gcc erneut compilieren will, erscheint Version

Quellcode

1
2
3
4
5
6
7
8
emerge -av gcc

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

Calculating dependencies... done!
[ebuild   R   ] sys-devel/gcc-4.4.4-r2  USE="fortran mudflap (multilib) nls nptl openmp (-altivec) -bootstrap -build -doc (-fixed-point) -gcj -graphite -gtk (-hardened) (-libffi) -multislot (-n32) (-n64) -nocxx -nopie -nossp -objc -objc++ -objc-gc -test -vanilla" 0 kB                                                              

Total: 1 package (1 reinstall), Size of downloads: 0 kB


also gcc-4.4.4-r2

Ich verstehe nun gar nichts mehr.
Ist das System durcheinander?

Auch revdep-rebuild kommt nicht ans compilieren - aus demselben Grund.

Hat jemand eine Idee, was ich noch machen könnte?

Danke im voraus für Hinweise.

Gruss
Manfred

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Windhund« (28.09.2010, 17:18)


2

28.09.2010, 17:10

Versuche mal den GCC neu zu aktivieren

Quellcode

1
2
gcc-config -l    # kleines L
gcc-config <nummer>
Auch wenn Open-Source kostenlos ist, ist sie nicht umsonst. Dein Preis ist Dein Engagement und Mitarbeit an OS-Projekten.
Wenn Du keinen Preis bezahlen willst, bist Du die Ware. Und das ist nicht Open Source, geschweigedenn frei.

3

28.09.2010, 17:18

Danke für den Tipp!

Das grüne Sternchen war hinter gcc-4.3.4.

per gcc-config 2 habe ich 4.4.4 eingestellt.

Nun läuft der Prozess wieder durch.

Vielen Dank für diesen Hinweis.

Gruss
Manfred

4

28.09.2010, 17:33

Hehe mensch Manfred, da hat man dir wohl glatt unbemerkt ein Compiler Upgrade untergejubelt ;) (ist nicht ernst gemeint)
...........

Beachte nach einem gcc Upgrade auch

Zitat von »gcc-4.4.4 WARN: postinst«

If you have issues with packages unable to locate libstdc++.la,
then try running 'fix_libtool_files.sh' on the old gcc versions.

In deinem fall also vermutlich

Quellcode

1
# fix_libtool_files.sh 4.3.4

5

29.09.2010, 06:27

Auch diesen Tipp habe ich ausgeführt.

Danke dafür.

Gruss
Manfred

Ähnliche Themen