From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1JChIj-0000LA-RG for garchives@archives.gentoo.org; Wed, 09 Jan 2008 20:13:26 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 478FCE07D5; Wed, 9 Jan 2008 20:12:35 +0000 (UTC) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.189]) by pigeon.gentoo.org (Postfix) with ESMTP id 51BD1E07CC for ; Wed, 9 Jan 2008 20:12:34 +0000 (UTC) Received: by mu-out-0910.google.com with SMTP id w8so229260mue.1 for ; Wed, 09 Jan 2008 12:12:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date:user-agent:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; bh=wgFrc5MSrS96MGp039ajYjBJ3tqjIL1c8S4jkW3eKIM=; b=cfS4zWpwM/06k2VDp6tEJriBw3YMYqyQLeWjt9ym+AR4sxkuL8BSfFL0OTFRPdFXbvUec83PVNw+UIuX6MxVGbKd5nSF3rV71cr7CM8FLGXf3vqo2FkNVaw7jvOyUbRGmXScNKHo644no2uVN0JOaGhLhphCRfhb6d+nwvJi2Zo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=jUUxouv3neZctLqyF0JtF7OEt1gkv6tiLeoSMmhtuBwXAnO1EFEc1yhQKX120STYUNYWM/r5S+JqfqPOJpWBzVLFhF+swNN/bb/sVBq9iFWifFIWLPVSP8Ab7qoB8uankgk+zLS5iTtyw2dvSk61MdAxZFRaTm6UBDspHwbiGkw= Received: by 10.78.200.20 with SMTP id x20mr1345839huf.16.1199909552100; Wed, 09 Jan 2008 12:12:32 -0800 (PST) Received: from ?10.0.0.3? ( [41.243.198.252]) by mx.google.com with ESMTPS id f6sm2094589nfh.21.2008.01.09.12.12.28 (version=SSLv3 cipher=OTHER); Wed, 09 Jan 2008 12:12:31 -0800 (PST) From: Alan McKinnon To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] unable to emerge anything... Date: Wed, 9 Jan 2008 22:07:42 +0200 User-Agent: KMail/1.9.7 References: <291830.46394.qm@web53710.mail.re2.yahoo.com> <200801060950.54978.alan.mckinnon@gmail.com> <003c01c852e2$eec12120$0211030a@TALBOTGW> In-Reply-To: <003c01c852e2$eec12120$0211030a@TALBOTGW> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200801092207.42148.alan.mckinnon@gmail.com> X-Archives-Salt: 5ad8e6ae-bb1c-4e98-9085-47e549d8e4ce X-Archives-Hash: bb2770108987227640b57e88864c12bc On Wednesday 09 January 2008, Richard Torres wrote: > It's all a blur. It was trying to re-emerge something related to gcc > and python was blocking it so I unmerged it. > I've got python back using quickpkg like you suggested. Now I'm > working on getting gcc to work. I did a quickpkg on gcc but emerge > still fails with a 'C compiler cannot create executables' error. > I'm pretty sure I'm using a working version. > > gcc-config -l > [1] i686-pc-linux-gnu-3.3.4 > [2] i686-pc-linux-gnu-3.4.4 * > [3] i686-pc-linux-gnu-3.4.4-hardened > [4] i686-pc-linux-gnu-3.4.4-hardenednopie > [5] i686-pc-linux-gnu-3.4.4-hardenednopiessp > [6] i686-pc-linux-gnu-3.4.4-hardenednossp > > Thanks-a-bunch Pleasw don't top post, especially not on a thread discussing technical fixes. Thanks. This seems to be a relatively common problem - I had it once myself recently but forget the fix. Google turned up these interesting links: http://forums.gentoo.org/viewtopic.php?t=27719 http://www.geektimes.com/linux/troubleshooting/c-cant-create-executables.html http://www.linuxquestions.org/questions/linux-newbie-8/c-compiler-cannot-create-executables-222588/ http://ubuntuforums.org/showthread.php?t=17033 http://www.brandonhutchinson.com/c_compiler_cannot_create_executables.html http://forums.gentoo.org/viewtopic.php?t=27486 http://www.linuxforums.org/forum/linux-applications/25592-solved-compiler-can-not-create-executables.html I would guess that you also unmerged some other important package like linux-headers, g++ or some such in the frenzy. alan > > -----Original Message----- > From: Alan McKinnon [mailto:alan.mckinnon@gmail.com] > Sent: Sunday, January 06, 2008 1:51 AM > To: gentoo-user@lists.gentoo.org > Subject: Re: [gentoo-user] unable to emerge anything... > > On Saturday 05 January 2008, Richard Torres wrote: > > Alan, > > Thanks for that. It's funny you should mention python, I just > > inadvertently unmerged it (doh...). I've got another gentoo box > > running a newer version of gcc and a newer kernel. Do you think I > > can get what I need out of it? > > Yes, you should be able to use that. Python is SLOTted, so even if > your other box is using a different SLOT, you can emerge the version > you need, quickpkg it, copy it over to the first machine and unpack > it there. > > quickpkg's are just tarballs so you can even use good old tar and > bunzip2 if you managed to go to the next step of dohness and unmerge > portage as well :-) > > btw, how did you manage to unmerge python? That's in system and > portage usually goes to great lengths to prevent you doing just that > > alan > > > Thanks for your help, > > -Richard > > > > ----- Original Message ---- > > From: Alan McKinnon > > To: gentoo-user@lists.gentoo.org > > Sent: Saturday, January 5, 2008 2:25:52 AM > > Subject: Re: [gentoo-user] unable to emerge anything... > > > > On Saturday 05 January 2008, Richard Torres wrote: > > > I'm getting pretty much the same error (C compiler cannot create > > > executables). I'm pretty sure it's because gcc-3.3.4 is > > > installed. I've tried upgrading gcc by emerging but get the same > > > error (catch-22 situation). Here's the last part of the error log > > > which is the same with anything I try to emerge. > > > > A quickpkg of gcc might help you out of this, it's about 7M or so > > so small enough to mail to you. Perhaps some kind soul here with > > similar settings to you can send their tbz2 of gcc-3.3.6.x > > > > Alternatively, you might be able to unpack a working gcc tarball > > from a > > > > stage 3 onto your system and use that > > > > It doesn't help you right now, but I've managed to screw up enough > > gentoo systems enough times that I now keep quickpkg copies of > > known good working critical packages in $PKGDIR - minimally gcc, > > glibc, python, portage, tar and a shell > > > > alan > > > > -- > > Alan McKinnon > > alan dot mckinnon at gmail dot com > > -- > Alan McKinnon > alan dot mckinnon at gmail dot com > -- > gentoo-user@lists.gentoo.org mailing list -- Alan McKinnon alan dot mckinnon at gmail dot com -- gentoo-user@lists.gentoo.org mailing list