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 1M7zLf-0004K4-Hx for garchives@archives.gentoo.org; Sat, 23 May 2009 22:05:47 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5A9B7E0212; Sat, 23 May 2009 22:05:46 +0000 (UTC) Received: from qw-out-1920.google.com (qw-out-1920.google.com [74.125.92.145]) by pigeon.gentoo.org (Postfix) with ESMTP id 3E3CEE0212 for ; Sat, 23 May 2009 22:05:46 +0000 (UTC) Received: by qw-out-1920.google.com with SMTP id 5so8899qwf.10 for ; Sat, 23 May 2009 15:05:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:organization:x-mailer :mime-version:content-type:content-transfer-encoding; bh=q8qJVct9CtWByrRZEqqipWQHvl/bULJau32HTcYHSo4=; b=Y84wyX4kKbSVaBARl4ql54Xq7iHxRDkc9N+9D8M6ZUmDWkIfMVMECvR6L/IgKe7ogb K9S2jWZeyjyuhxwNFb3rnW2AoFr2RVGM5XGIfdRezhZb8ml9lvqzTYGVu1LSJOpfTLFa wCi+jiG9VOwIsqpFB66xrS4ch4uUtUEaarKc4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:organization :x-mailer:mime-version:content-type:content-transfer-encoding; b=QmPqF+J8v8umcaBwSoxDibjP8tMXP8beVRHBdCOM3c7EmdMUCRZV8eB0RaJWiZL2J+ Fs8ItpFMHRxRw8/TVXZCmq7F+7jqlf5zCL2qVrid/XXkhyQXhjYXxuobk0FZe+jxzN+S //Fn3a4vtmzholkYqmIwR0Kjrqxt050CP8zeE= Received: by 10.224.53.202 with SMTP id n10mr5328611qag.194.1243116345981; Sat, 23 May 2009 15:05:45 -0700 (PDT) Received: from localhost.localdomain (201-74-136-60-sj.cpe.vivax.com.br [201.74.136.60]) by mx.google.com with ESMTPS id 8sm3966626qwj.11.2009.05.23.15.05.34 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 23 May 2009 15:05:44 -0700 (PDT) Date: Sat, 23 May 2009 19:08:50 -0300 From: Jorge Morais To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] ARGH I uninstalled python Message-ID: <20090523190850.1c529701@gmail.com> In-Reply-To: <43709.23046.qm@web51309.mail.re2.yahoo.com> References: <43709.23046.qm@web51309.mail.re2.yahoo.com> Organization: ITA X-Mailer: Claws Mail 3.7.1 (GTK+ 2.14.7; i686-pc-linux-gnu) 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=US-ASCII Content-Transfer-Encoding: 7bit X-Archives-Salt: 00b14d43-ea76-4408-ad65-3098366039b6 X-Archives-Hash: 3949ed313a58b0e13585182dcbd30503 On Sat, 23 May 2009 03:51:40 -0700 (PDT) Jon Hardcastle wrote: > > > > And finally, couldn't he have gotten a binary package from > > http://tinderbox.dev.gentoo.org/default-linux/x86/dev-lang/ > > ? Have you not yet tried to get python from a binary package? See http://forums.gentoo.org/viewtopic-p-4669397.html#4669397 That is both the easiest and cleanest solution I have found so far, (not that I have researched much, I admit). And maybe you don't even have to extract the tarball manually with tar; maybe you can use qmerge from app-portage/portage-utils (AFAIK it is written in C). Now, I do have concerns about your system having remains of multiple python installations. Any person with python knowledge can give an opinion on whether this is dangerous? And what is the easiest way to clean the mess? One idea: you can can recompile python with a safe prefix (such as a subdir of your home), issue make install (not as root, for increased safety) and see where Python install its files relative to the prefix, so you can delete them from your system (to be more careful before deleting a file, you can issue qfile to see if it is owned by a portage-installed package. And in the end you can emerge python properly, from the sources, so all the ebuild logic (which is more than just ./configure, make and make install) gets applied, and you get a Python installation that respects your USE flags, CFLAGS and other system-specific settings (obviously you don't get such a system-customized python when you use the binary package from tinderbox).