Gentoo Archives: gentoo-user

From: KH <gentoo-user@××××××××××××××××.de>
To: gentoo-user@l.g.o
Subject: [gentoo-user] configure: error: C++ compiler cannot create executables
Date: Tue, 07 Apr 2009 15:28:06
Message-Id: 49DB7103.8000907@konstantinhansen.de
1 Hi,
2
3 I seem to have som problem here.
4
5 >>> Emerging (3 of 107) app-arch/lzma-utils-4.32.7
6 * lzma-4.32.7.tar.gz RMD160 SHA1 SHA256 size ;-)
7 ...
8 [ ok ]
9 * checking ebuild checksums ;-)
10 ...
11 [ ok ]
12 * checking auxfile checksums ;-)
13 ...
14 [ ok ]
15 * checking miscfile checksums ;-)
16 ...
17 [ ok ]
18 >>> Unpacking source...
19 >>> Unpacking lzma-4.32.7.tar.gz to
20 /var/tmp/portage/app-arch/lzma-utils-4.32.7/work
21 >>> Source unpacked in /var/tmp/portage/app-arch/lzma-utils-4.32.7/work
22 >>> Compiling source in
23 /var/tmp/portage/app-arch/lzma-utils-4.32.7/work/lzma-4.32.7 ...
24 * econf: updating lzma-4.32.7/config.guess with
25 /usr/share/gnuconfig/config.guess
26 * econf: updating lzma-4.32.7/config.sub with
27 /usr/share/gnuconfig/config.sub
28 ./configure --prefix=/usr --host=i486-pc-linux-gnu
29 --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share
30 --sysconfdir=/etc --localstatedir=/var/lib --build=i486-pc-linux-gnu
31 checking if debugging code should be compiled... no
32 checking for a BSD-compatible install... /usr/bin/install -c
33 checking whether build environment is sane... yes
34 checking for a thread-safe mkdir -p... /bin/mkdir -p
35 checking for gawk... gawk
36 checking whether make sets $(MAKE)... yes
37 checking for i486-pc-linux-gnu-g++... i486-pc-linux-gnu-g++
38 checking for C++ compiler default output file name...
39 configure: error: C++ compiler cannot create executables
40 See `config.log' for more details.
41
42 !!! Please attach the following file when seeking support:
43 !!! /var/tmp/portage/app-arch/lzma-utils-4.32.7/work/lzma-4.32.7/config.log
44 *
45 * ERROR: app-arch/lzma-utils-4.32.7 failed.
46 * Call stack:
47 * ebuild.sh, line 49: Called src_compile
48 * environment, line 2100: Called _eapi0_src_compile
49 * ebuild.sh, line 607: Called econf
50 * ebuild.sh, line 543: Called die
51 * The specific snippet of code:
52 * die "econf failed"
53 * The die message:
54 * econf failed
55 *
56 * If you need support, post the topmost build error, and the call stack
57 if relevant.
58 * A complete build log is located at
59 '/var/tmp/portage/app-arch/lzma-utils-4.32.7/temp/build.log'.
60 * The ebuild environment file is located at
61 '/var/tmp/portage/app-arch/lzma-utils-4.32.7/temp/environment'.
62 *
63
64 >>> Failed to emerge app-arch/lzma-utils-4.32.7, Log file:
65
66 >>> '/var/tmp/portage/app-arch/lzma-utils-4.32.7/temp/build.log'
67
68
69 I am using the new gcc with CFLAGS="-O2 -march=native -mtune=native
70 -pipe". I am able to emerge -av1 glibc and binutils plus gcc itselve.I
71 cannot run the eav system because of the above error.
72 Any hint?

Replies

Subject Author
Re: [gentoo-user] configure: error: C++ compiler cannot create executables Justin <justin@×××××××××.net>