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 1M89jE-0005mQ-PU for garchives@archives.gentoo.org; Sun, 24 May 2009 09:10:49 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C117BE0486; Sun, 24 May 2009 09:10:06 +0000 (UTC) Received: from mail-ew0-f165.google.com (mail-ew0-f165.google.com [209.85.219.165]) by pigeon.gentoo.org (Postfix) with ESMTP id 859B0E0486 for ; Sun, 24 May 2009 09:10:06 +0000 (UTC) Received: by ewy9 with SMTP id 9so2452939ewy.34 for ; Sun, 24 May 2009 02:10:06 -0700 (PDT) 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=cl/5URcrJAB1wQeucz5NoP21nv4RK/Kt/p6JoN8YB0E=; b=RGNzJEtTW5ioSY7n0hBEci1YLvntFOm3lWH2qKRxg8xcXtcvOC274SpR71DfYUKNxV pFRR14kJHFvrWUk8EubOteYArl8ZIo0j3tupr75XtHgnYEu3cQGCtL4KFFxpejRICR2X WMrMGRyFXW+1QkRD1uykkuHFuSdnOfyQ3YZko= 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=m0P4b1tdSTq5EuCeq4FhPEQvB1aEyl56me+6k7T1+NqSs4NL/Gk4VIn2gD2y/ksRt2 nU3ljuizM0m0qEE/i5MWN6gJbBt887VHC1DbNrIPdkkLUC0ySfCrjsU1z5OZwQIlTz8a jRoNvy57iulzF5zhrkT2czUbBm9cEFrQDOde8= Received: by 10.210.12.18 with SMTP id 18mr7176626ebl.80.1243156205962; Sun, 24 May 2009 02:10:05 -0700 (PDT) Received: from nazgul.localnet (196-210-153-19-rrdg-esr-2.dynamic.isadsl.co.za [196.210.153.19]) by mx.google.com with ESMTPS id 28sm5564031eyg.34.2009.05.24.02.10.04 (version=SSLv3 cipher=RC4-MD5); Sun, 24 May 2009 02:10:05 -0700 (PDT) From: Alan McKinnon To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] ARGH I uninstalled python Date: Sun, 24 May 2009 11:08:40 +0200 User-Agent: KMail/1.11.3 (Linux/2.6.29-gentoo-r4; KDE/4.2.3; x86_64; ; ) References: <43709.23046.qm@web51309.mail.re2.yahoo.com> <20090523190850.1c529701@gmail.com> In-Reply-To: <20090523190850.1c529701@gmail.com> 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: <200905241108.40747.alan.mckinnon@gmail.com> X-Archives-Salt: 77208f2e-3768-43dc-91d3-2dee801ea6b5 X-Archives-Hash: 9106427bf54c30fdeb46e486ba8e4b51 On Sunday 24 May 2009 00:08:50 Jorge Morais wrote: > 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). make/install with --prefix /usr/local/ That's what it's there for. -- alan dot mckinnon at gmail dot com