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 1M8DRy-0000LD-Ol for garchives@archives.gentoo.org; Sun, 24 May 2009 13:09:15 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E07FDE0390; Sun, 24 May 2009 13:03:39 +0000 (UTC) Received: from mail-qy0-f115.google.com (mail-qy0-f115.google.com [209.85.221.115]) by pigeon.gentoo.org (Postfix) with ESMTP id B45B0E03D3 for ; Sun, 24 May 2009 13:03:39 +0000 (UTC) Received: by qyk13 with SMTP id 13so3991242qyk.32 for ; Sun, 24 May 2009 06:03:39 -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=u9KYmlfC+qPlfkGznUfAx7nwxcW9Qu1ZwWiOC/s5y7g=; b=OpeiU2q8etum8znn45c7hPPLbf/EhLmk/hm6QBUnqzzkPNeFRV/cN3robcU5Jf+ewe pvLJzodPPuSw/mAD8AlOrSsQmMBu6AjjV79ej/ocRbVYyVJeOe+2VARk33iV6NU5TLJK bgEvCbgRLCaAi3vw0paN13Sr6wnWc8fqwvN9k= 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=hxHc7ey3+17HHBrwq29VkHiM2z+m2Se+eZp437UWsrMzPrMCnU85gGJKEf4oCjVNzP e3vgbyQWTgSnJrTjTW59xk7wRZLuExwtgT963n/dNeGc4b3nqcePzbmvU3a75HZs6W8Y /Ju0f3suh7g3Aatg344QtG90INyJkPCL8isrE= Received: by 10.224.54.8 with SMTP id o8mr5792080qag.204.1243170218844; Sun, 24 May 2009 06:03:38 -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 8sm5348664qwj.31.2009.05.24.06.03.36 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 24 May 2009 06:03:38 -0700 (PDT) Date: Sun, 24 May 2009 10:07:19 -0300 From: Jorge Morais To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] ARGH I uninstalled python Message-ID: <20090524100719.10648a16@gmail.com> In-Reply-To: <200905241108.40747.alan.mckinnon@gmail.com> References: <43709.23046.qm@web51309.mail.re2.yahoo.com> <20090523190850.1c529701@gmail.com> <200905241108.40747.alan.mckinnon@gmail.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: 5ead3af0-6a54-4bd2-9f74-3384da97d4a0 X-Archives-Hash: 8ec99542a035ee92855d24be1df1b5b0 On Sun, 24 May 2009 11:08:40 +0200 Alan McKinnon wrote: > On Sunday 24 May 2009 00:08:50 Jorge Morais wrote: > > On Sat, 23 May 2009 03:51:40 -0700 (PDT) > > > > 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). > > make/install with --prefix /usr/local/ > > That's what it's there for. You seem to be suggesting what he *should have done* The point is, he has already installed multiple (at least 3.0.1 and 2.6.2) vanilla ("fresh" from http://www.python.org/download/releases/) python versions manually (with ./configure -with-fpectl -infodir=/usr/share/info/ -mandir=/usr/share/man make make install prefix=/usr ) and then he tried emerge -va python He followed instructions from this damn blog http://blogs.pwmn.net/korkakak/2008/06/04/gentoo-i-unmerged-python-now-what I fear that his system is now a mess, with remains of multiple python versions. I suggested a idea for how to clean it up (read the quoted text above, starting with "One idea:") Anyway, some conclusions: - The blog solution seems to be a quite bad one, for multiple reasons. - A better and easier solution would be to install a binary package from tinderbox. I think he wouldn't even have to extract the tarball manually with tar; he can use qmerge from portage-utils (written in C AFAIK); I'm not sure, haven't used qmerge so far -- Software is like sex: it is better when it is free. --Linus Torvalds