Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] emerge spamassassin: re2c failed...
Date: Thu, 21 May 2009 09:59:31
Message-Id: 200905211158.04988.alan.mckinnon@gmail.com
In Reply to: Re: [gentoo-user] emerge spamassassin: re2c failed... by Jarry
1 On Thursday 21 May 2009 11:21:22 Jarry wrote:
2 > Alan McKinnon wrote:
3 > > On Thursday 21 May 2009 10:30:17 Jarry wrote:
4 > >> I tried to emerge spamassassin, but emerge failed while working
5 > >> on re2c. I keep getting this error for about 3 days, despite
6 > >> of syncing/cleaning/rebuilding portage tree. What could be reason
7 > >> for this problem?
8 > >>
9 > >> Log says something about c++ compiler problem. But just a few
10 > >> days ago I emerged sendmail, without any problem. Why suddenly
11 > >> c++ does not work?
12 > >> ---------------------------------------------
13 > >>
14 > >> >>> Emerging (14 of 62) dev-util/re2c-0.13.5
15 > >>
16 > >> ...
17 > >> checking for a BSD-compatible install... /usr/bin/install -c
18 > >> checking whether build environment is sane... yes
19 > >> checking for a thread-safe mkdir -p... /bin/mkdir -p
20 > >> checking for gawk... gawk
21 > >> checking whether make sets $(MAKE)... yes
22 > >> checking for bison... bison -y
23 > >> checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++
24 > >> checking for C++ compiler default output file name...
25 > >> configure: error: C++ compiler cannot create executables
26 > >> See `config.log' for more details.
27 > >>
28 > >> !!! Please attach the following file when seeking support:
29 > >> !!! /var/tmp/portage/dev-util/re2c-0.13.5/work/re2c-0.13.5/config.log
30 > >
31 > > You need to do this first
32 >
33 > I'm not sure what you mean. Sending config.log? I did attach it.
34 > Probably mailing list has cut it off. So I put it directly
35 > (sorry for long post):
36 > ______________________________________________________________
37 >
38 > This file contains any messages produced by compilers while
39 > running configure, to aid debugging if configure makes a mistake.
40 >
41 > It was created by re2c configure 0.13.5, which was
42 > generated by GNU Autoconf 2.61. Invocation command line was
43 >
44 > $ ./configure --prefix=/usr --build=x86_64-pc-linux-gnu
45 > --host=x86_64-pc-linux-gnu --mandir=/usr/share/man
46 > --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
47 > --localstatedir=/var/lib --libdir=/usr/lib64
48
49 [snip]
50
51 > configure:2460: checking for C++ compiler default output file name
52 > configure:2487: x86_64-pc-linux-gnu-g++ -march=athlon64 - O2 -pipe
53 ^
54 ka-ching!
55
56 --
57 alan dot mckinnon at gmail dot com

Replies

Subject Author
Re: [gentoo-user] emerge spamassassin: re2c failed... Jarry <mr.jarry@×××××.com>