From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1PYUMZ-0000TC-Kz for garchives@archives.gentoo.org; Fri, 31 Dec 2010 02:05:03 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 237E4E07D1 for ; Fri, 31 Dec 2010 02:05:02 +0000 (UTC) Received: from mailgate.caprica.metux.de (caprica.metux.de [82.165.128.25]) by pigeon.gentoo.org (Postfix) with ESMTP id 30879E0566 for ; Fri, 31 Dec 2010 01:20:17 +0000 (UTC) Received: from mailgate.caprica.metux.de (localhost.localdomain [127.0.0.1]) by mailgate.caprica.metux.de (8.14.4/8.14.4) with ESMTP id oBV1FwHB006830 for ; Fri, 31 Dec 2010 02:15:58 +0100 Received: (from uucp@localhost) by mailgate.caprica.metux.de (8.14.4/8.14.4/Submit) with UUCP id oBV1FaDh006813 for gentoo-embedded@lists.gentoo.org; Fri, 31 Dec 2010 02:15:36 +0100 Received: (from weigelt@localhost) by nibiru.metux.de (8.12.10/8.12.10) id oBV1F9Tu008553 for gentoo-embedded@lists.gentoo.org; Fri, 31 Dec 2010 02:15:09 +0100 Date: Fri, 31 Dec 2010 02:15:09 +0100 From: Enrico Weigelt To: gentoo-embedded@lists.gentoo.org Subject: Re: [gentoo-embedded] configure: error: C++ compiler cannot create executables Message-ID: <20101231011509.GA2178@nibiru.local> References: <20101230062751.GA10596@nibiru.local> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-embedded@lists.gentoo.org Reply-to: gentoo-embedded@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i X-Terror: bin laden, kill bush, Briefbombe, Massenvernichtung, KZ, X-Nazi: Weisse Rasse, Hitlers Wiederauferstehung, 42, X-Antichrist: weg mit schaeuble, ausrotten, heiliger krieg, al quaida, X-Killer: 23, endloesung, Weltuntergang, X-Doof: wer das liest ist doof X-Archives-Salt: 7fc78c40-3fee-4f9d-aaa3-d6bed9d5b1de X-Archives-Hash: acf7771bc521d1b0b88d9d312f381d34 * Kfir Lavi schrieb: > > Patching autogenerated files is not a good idea - change the > > actual source and regenerate. > > > In the ACE files they ask not to generate configure alone. Well, not the first time I hear upstreams confusing intermediate files w/ actual sources (yes, there're also folks who include precompiled binaries, which are run and later recompiled within the build process ;-o). A very good indicator for something completely conceptionally wrong in here ;-p My approach (which I'm doing in the OSS-QM project) is radically clear: autogenerated files *must* be regenerated on each build. If this doesn't work, the source is broken and has to be fixed, period ;-p I'm even going farer: if upstream has an proper vcs, I take the releases from there, completely regenerating everything from scratch. All fixes are done within my VCS (essentially, I always have my own releases ontop the upstream's, as git tags). Sometimes you encounter packages, eg. coreutils, which doing really messy things like pulling in another tree via git and copying in files from there - a nightmare for packagers ;-o > So I tried it ;) > But had problem to finish. > My guess they still tweak by hand. WTF ? Tweak autoconf-generated files by hand ? Oh, I don't even wanna know which drugs they're on ;-) cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ phone: +49 36207 519931 email: weigelt@metux.de mobile: +49 151 27565287 icq: 210169427 skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ----------------------------------------------------------------------