Re: C compiler cannot create executables

Marco Ziebell <[email protected]>
Newsgroups gmane.linux.gentoo.user.german
Message-ID <[email protected]>
Guck dir mal die Datei "config.log" im Working-Directory an:

/var/tmp/portage/net-nntp/slrn-1.0.2/work/slrn-1.0.2/config.log

Dort steht drinnen wieso das nicht funktioniert hat.
Such einfach nach "cannot create executables" und guck dir die Zeilen
darüber an.

mfg

Am Sun, 14 Dec 2014 18:25:55 +0100
schrieb Clemens Schüller <[email protected]>:

> Hallo!
> 
> Seit einiger Zeit kann ich keine Pakete mehr emergen:
> 
> Hier slrn als Beispiel:
> 
> --8<---------------cut here---------------start------------->8---
> checking for x86_64-pc-linux-gnu-gcc... clang
> checking whether the C compiler works... no
> configure: error: in
> `/var/tmp/portage/net-nntp/slrn-1.0.2/work/slrn-1.0.2': configure:
> error: C compiler cannot create executables See `config.log' for more
> details
> 
> !!! Please attach the following file when seeking support:
> !!! /var/tmp/portage/net-nntp/slrn-1.0.2/work/slrn-1.0.2/config.log
>  * ERROR: net-nntp/slrn-1.0.2::gentoo failed (configure phase):
>  *   econf failed
>  *=20
>  * Call stack:
>  *          ebuild.sh, line   93:  Called src_configure
>  *        environment, line 2844:  Called
> autotools-utils_src_configure
>  *        environment, line  600:  Called econf
> '--docdir=3D/usr/share/doc/= slrn-1.0.2'
> '--with-docdir=3D/usr/share/doc/slrn-1.0.2' '--with-slrnpull' '=
> --without-canlock' '--without-uu' '--enable-nls' '--with-ssl'
>  *   phase-helpers.sh, line  584:  Called die
>  * The specific snippet of code:
>  *                      die "econf failed"
>  *=20
>  * If you need support, post the output of `emerge --info
> '=3Dnet-nntp/slrn= -1.0.2::gentoo'`,
>  * the complete build log and the output of `emerge -pqv
> '=3Dnet-nntp/slrn-= 1.0.2::gentoo'`.
>  * The complete build log is located at
> '/var/tmp/portage/net-nntp/slrn-1.0= .2/temp/build.log'.
>  * The ebuild environment file is located at
> '/var/tmp/portage/net-nntp/slr= n-1.0.2/temp/environment'.
>  * Working directory:
> '/var/tmp/portage/net-nntp/slrn-1.0.2/work/slrn-1.0.2'
>  * S: '/var/tmp/portage/net-nntp/slrn-1.0.2/work/slrn-1.0.2'
> --8<---------------cut here---------------end--------------->8---
> 
> 
> Und hier der relevante Auszug aus meiner make.conf:
> 
> --8<---------------cut here---------------start------------->8---
> CC=3Dclang
> CXX=3Dclang++
> CFLAGS=3D"-O2 -march=3Dcore2 -pipe -fcolor-diagnostics"
> CHOST=3D"x86_64-pc-linux-gnu"
> CXXFLAGS=3D"${CFLAGS}"
> LDFLAGS=3D"-Wl -O1 --as-needed"
> ACCEPT_KEYWORDS=3D"~amd64"
> MAKEOPTS=3D"-j8"
> FEATURES=3D"parallel-fetch protect-owned splitdebug userfetch
> userpriv ccache" --8<---------------cut
> here---------------end--------------->8---
> 
> Das Problem tritt _nur_ beim emergen von verschiedenen Paketen auf.
> Ein manuelles make funktioniert ohne Probleme.
> 
> 
>
signature.asc (application/pgp-signature, 473 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBAgAGBQJUjcqIAAoJEJvazhohxj7EF3kH/RzpxKeXe/nTMZSBJNqEhSd+
S99XRb2vBGGGH3rNrcKJZOQCxkLTvTSgC/cz3K4J5HYYyW1uhWSdXZDcQgfdm7GB
EvTL/aYEEsZyxvB91TsuvWuHUeDlc61rSX9lpUiUOUh7H/damgVSUNp9C/VhfnnB
iL68gk7zxPgwQylc6F4+YIrU4qxYXQ52tnErLC2bKEmjZCyBk9NN9OgodVW6GJSN
+4N7LSFqdbvAv/M5kpwoJ8L8tAa/sHH/VMZHogYeNj/YRDkcih2pjUA//Q3XpYjt
E5/fqzRR0VER0ablO2LXqxfsk/0v6rmn9yxu9jdfKaAsqH7AYKdsuG1o0stxIfU=
=LWe2
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.