Gentoo Archives: gentoo-embedded

From: Enrico Weigelt <weigelt@×××××.de>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] configure: error: C++ compiler cannot create executables
Date: Fri, 31 Dec 2010 02:05:03
Message-Id: 20101231011509.GA2178@nibiru.local
In Reply to: Re: [gentoo-embedded] configure: error: C++ compiler cannot create executables by Kfir Lavi
1 * Kfir Lavi <lavi.kfir@×××××.com> schrieb:
2
3 > > Patching autogenerated files is not a good idea - change the
4 > > actual source and regenerate.
5 > >
6 > In the ACE files they ask not to generate configure alone.
7
8 Well, not the first time I hear upstreams confusing intermediate
9 files w/ actual sources (yes, there're also folks who include
10 precompiled binaries, which are run and later recompiled within
11 the build process ;-o). A very good indicator for something
12 completely conceptionally wrong in here ;-p
13
14 My approach (which I'm doing in the OSS-QM project) is radically
15 clear: autogenerated files *must* be regenerated on each build.
16 If this doesn't work, the source is broken and has to be fixed,
17 period ;-p
18
19 I'm even going farer: if upstream has an proper vcs, I take the
20 releases from there, completely regenerating everything from
21 scratch. All fixes are done within my VCS (essentially, I always
22 have my own releases ontop the upstream's, as git tags). Sometimes
23 you encounter packages, eg. coreutils, which doing really messy
24 things like pulling in another tree via git and copying in files
25 from there - a nightmare for packagers ;-o
26
27 > So I tried it ;)
28 > But had problem to finish.
29 > My guess they still tweak by hand.
30
31 WTF ? Tweak autoconf-generated files by hand ? Oh, I don't even
32 wanna know which drugs they're on ;-)
33
34
35 cu
36 --
37 ----------------------------------------------------------------------
38 Enrico Weigelt, metux IT service -- http://www.metux.de/
39
40 phone: +49 36207 519931 email: weigelt@×××××.de
41 mobile: +49 151 27565287 icq: 210169427 skype: nekrad666
42 ----------------------------------------------------------------------
43 Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme
44 ----------------------------------------------------------------------

Replies

Subject Author
Re: [gentoo-embedded] configure: error: C++ compiler cannot create executables Kfir Lavi <lavi.kfir@×××××.com>