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 1M7m0l-0002PC-QG for garchives@archives.gentoo.org; Sat, 23 May 2009 07:51:20 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D9BBCE02CE; Sat, 23 May 2009 07:51:18 +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 B4E34E02CE for ; Sat, 23 May 2009 07:51:18 +0000 (UTC) Received: by qyk13 with SMTP id 13so3410776qyk.32 for ; Sat, 23 May 2009 00:51:18 -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=4tH7lQ6A6c9p+kN4sKrp5yiNHSohTQuaX5GMTdw32T0=; b=T+lNoc9+/VomukIxlgixWWZWO6QfD7TSB1ZTKgecet11QbMdilUQhlpTayGMe4/WzO VmO9muv85UgGrp8FTVHoxDNqGNDRrwsyjHMYsou7qjV9DMP89Xst70ZJP03Hv2ASrpRm rlVlUWF9LRKjwrAslDt/O1C1pVx2dsC0gKv3w= 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=AvxRPtYGpDYRlDzA6bhf48tO9bAaI5gjU3livwAFmAJNdd1hGwHBqwDW+I2j+ZxxcS qfN+FbiXcTIgynfNYn2D8wU72Pl0HpyTDSLNYZD6BBMkGv6PxucnltnTtDCTJ0NyX1jd bVo1aZ3X1WJ4zyMGjPqnIVEFJJ0s3rdgZfgds= Received: by 10.224.19.131 with SMTP id a3mr4812504qab.17.1243065078048; Sat, 23 May 2009 00:51:18 -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 7sm7340082qwb.46.2009.05.23.00.51.16 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 23 May 2009 00:51:17 -0700 (PDT) Date: Sat, 23 May 2009 04:55:04 -0300 From: Jorge Morais To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] ARGH I uninstalled python Message-ID: <20090523045504.225366b5@gmail.com> In-Reply-To: <983967.82330.qm@web51306.mail.re2.yahoo.com> References: <983967.82330.qm@web51306.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: 1b3d48f9-15d0-4ef0-85d8-4b633a8be32b X-Archives-Hash: eaf34188535d8cfd0753f8d3e2c2247c > Thank you! Thank you! Thank you! > > I followed this > > http://blogs.pwmn.net/korkakak/2008/06/04/gentoo-i-unmerged-python-now-what > > which worked - in the end. couple of caveats tho for anyone 'that follows' get python from their site as the ftp link in this article is out of date. > > http://www.python.org/download/releases/ > > also I initially tried 3.01 and that didn't work so i installed 2.6.2 which worked 'out of the box' i then tested with 'emerge' and am now running 'emerge -va python' > > Cheers guys! > > Thanks to Dale too! Glad it worked. But, I don't know what will happen when the properly emerged python overwrites the manually installed Python. Does anybody know if the manual python install is "slotted", in the sense that it installs files in /usr/lib/python2.6, /usr/include/python2.6, etc? If it isn't, and Portage installs a slotted Python, the old files wouldn't be overwritten. And even if it is, the differences between the differently-configured and super-patched new python and the vanilla old python could result in a different set of file names, so it is possible that the old python will not be totally overwritten by the portage-emerged python. If I were you, I would at the very least read the log (specially its tail) of the python emerge (emerge logs normally go to /var/log/emerge). And you did log the files installed by the manual python install, didn't you? And why did you try python 3.01 first? You should try a similar vesion to what you were previously running. And specifically python 3.01 is crazy, as it is widely known that it is *not* compatible with python 2.x software. And did you properly uninstall python 3.0.1? Also, I didn't like the instructions in this blog very much. Wouldn't it be more appropriate to configure python like portage would? For example, in my system, where the last python install was dev-lang/python-2.5.4-r2 USE="ncurses readline ssl threads xml -berkdb -build -doc -examples -gdbm -ipv6 -sqlite -tk -ucs2 -wininst" the configure line was (from the log) ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-fpectl --enable-shared --disable-ipv6 --infodir=${prefix}/share/info --mandir=${prefix}/share/man --with-libc= --enable-unicode=ucs4 --with-threads --build=i686-pc-linux-gnu Maybe it would be nice to install python to /usr/local (I'm not sure), but if you are going to install it in /usr (like portage), I think you might as well use the same configure line portage would. And if you wanted to be really clean, you could apply the patches that portage applies. And most importantly, *was this necessary*? Couldn't he have emerged python by invoking ebuild /usr/port/usr/portage/dev-lang/python/python-2.6.2.ebuild merge ? This would do everyting correctly. And wouldn't it work without Python, since it is written in Bash? AFAIK, what needs Python is the high level interface to the portage system, while the low-level interface only needs Bash (but I'm totally not sure). And finally, couldn't he have gotten a binary package from http://tinderbox.dev.gentoo.org/default-linux/x86/dev-lang/ ?