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 1M7opK-0004ht-Kl for garchives@archives.gentoo.org; Sat, 23 May 2009 10:51:42 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A4E9DE030F; Sat, 23 May 2009 10:51:41 +0000 (UTC) Received: from web51309.mail.re2.yahoo.com (web51309.mail.re2.yahoo.com [206.190.38.175]) by pigeon.gentoo.org (Postfix) with SMTP id 7D99DE030F for ; Sat, 23 May 2009 10:51:41 +0000 (UTC) Received: (qmail 25419 invoked by uid 60001); 23 May 2009 10:51:41 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1243075901; bh=zVt8Km/8vvyYXpekWCeFxKqCdn3SVfT9UC+mCKiqCVQ=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=LFpNUqfnIiQxm3J32aiyjUvNlI2AMMySiwFPKLKsCS/Qe/hjkK1Rit41xpAQh0FVSG85wz1yxsj0MqZuIDwwwol9OtlRHHeDxCMfyOggJlL6CEceRtMH5sqK1UQjZwr4Q4gekxBj4vvoNf5Gn2duPKOCz9TWBn44PdVJeTxq8rY= DomainKey-Signature:a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=BsvkghDG3kHZx4WN/U0BaT6wq2ssgsHHRvWKlZhP0QMDd+6D3f5TKCYfWlL2/88liW4NcN1+VD6SU1roPh4jFWAsMI3SJItI9KL3mtyUum9EQmvu2otfG86GJuw+DqsbCgXd/bHB+TO/852kqQhPTRUnt97kaCbcV+AUbsC/Mxs=; Message-ID: <43709.23046.qm@web51309.mail.re2.yahoo.com> X-YMail-OSG: YLtLABkVM1kY_t7p_UZuAmoNsTna33H01PJhr5uv_PufMGuxpr0kqf9hza_vmrYLO_drVe.jCrdZyEkAqBT7QiU5rxHo7Xd32o1HPb6vFkr1xZmphMkVZ5gOEk6mJyCbfHsovGZ..oOuWYgQnmc9LXOMHi99BHJD2ol1BOS.lE9Rl4yyR_aA7xO99XPgXG2Ex4TsY1ILOwTXbyHREZrlRjkzv3qX7oQrnVMxnMVevFAI7KNLo6h3BoMDCchg.C1y3mm71AATdAvqjSdJAjsQIsbEPLPJ0APWbuXgXnBZM6st3HBlNcgKPXjPkNZcDehcgtfs.w-- Received: from [81.98.160.218] by web51309.mail.re2.yahoo.com via HTTP; Sat, 23 May 2009 03:51:40 PDT X-Mailer: YahooMailClassic/5.3.9 YahooMailWebService/0.7.289.10 Date: Sat, 23 May 2009 03:51:40 -0700 (PDT) From: Jon Hardcastle Subject: Re: [gentoo-user] ARGH I uninstalled python To: gentoo-user@lists.gentoo.org 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: quoted-printable X-Archives-Salt: 01c33c0e-1a10-444a-951d-9e72bacb9ab3 X-Archives-Hash: 55280fa5f046e3d452f1f0b00faf96c2 --- On Sat, 23/5/09, Jorge Morais wrote:=0A= =0A> From: Jorge Morais =0A> Subject: Re: [g= entoo-user] ARGH I uninstalled python=0A> To: gentoo-user@lists.gentoo.org= =0A> Date: Saturday, 23 May, 2009, 8:55 AM=0A> > Thank you! Thank you! Than= k=0A> you!=0A> > =0A> > I followed this=0A> > =0A> > http://blogs.pwmn.net/= korkakak/2008/06/04/gentoo-i-unmerged-python-now-what=0A> > =0A> > which wo= rked - in the end. couple of caveats tho for=0A> anyone 'that follows' get = python from their site as the ftp=0A> link in this article is out of date.= =0A> > =0A> > http://www.python.org/download/releases/=0A> > =0A> > also I = initially tried 3.01 and that didn't work so i=0A> installed 2.6.2 which wo= rked 'out of the box' i then tested=0A> with 'emerge' and am now running 'e= merge -va python' =0A> > =0A> > Cheers guys!=0A> > =0A> > Thanks to Dale to= o!=0A> =0A> Glad it worked.=0A> But, I don't know what will happen when the= properly=0A> emerged python=0A> overwrites the manually installed Python.= =0A> =0A> Does anybody know if the manual python install is=0A> "slotted", = in the sense=0A> that it installs files in /usr/lib/python2.6,=0A> /usr/inc= lude/python2.6, etc?=0A> If it isn't, and Portage installs a slotted Python= , the old=0A> files wouldn't=0A> be overwritten.=0A> And even if it is, the= differences between the=0A> differently-configured and=0A> super-patched n= ew python and the vanilla old python could=0A> result in=0A> a different se= t of file names, so it is possible that the=0A> old python=0A> will not be = totally overwritten by the portage-emerged=0A> python.=0A> =0A> If I were y= ou, I would at the very least read the log=0A> (specially its tail)=0A> of = the python emerge (emerge logs normally go to=0A> /var/log/emerge).=0A> And= you did log the files installed by the manual python=0A> install,=0A> didn= 't you?=0A> =0A> And why did you try python 3.01 first? You should try a=0A= > similar vesion to=0A> what you were previously running. And specifically = python=0A> 3.01 is crazy,=0A> as it is widely known that it is *not* compat= ible with=0A> python 2.x software.=0A> And did you properly uninstall pytho= n 3.0.1?=0A> =0A> Also, I didn't like the instructions in this blog very=0A= > much.=0A> Wouldn't it be more appropriate to configure python like=0A> po= rtage would?=0A> For example, in my system, where the last python install= =0A> was=0A> dev-lang/python-2.5.4-r2=A0 USE=3D"ncurses readline ssl=0A> th= reads xml -berkdb -build -doc -examples -gdbm -ipv6=0A> -sqlite -tk -ucs2 -= wininst"=0A> =0A> the configure line was (from the log)=0A> ./configure --p= refix=3D/usr --host=3Di686-pc-linux-gnu=0A> --mandir=3D/usr/share/man --inf= odir=3D/usr/share/info=0A> --datadir=3D/usr/share --sysconfdir=3D/etc=0A> -= -localstatedir=3D/var/lib --with-fpectl --enable-shared=0A> --disable-ipv6 = --infodir=3D${prefix}/share/info=0A> --mandir=3D${prefix}/share/man --with-= libc=3D=0A> --enable-unicode=3Ducs4 --with-threads=0A> --build=3Di686-pc-li= nux-gnu=0A> =0A> Maybe it would=A0 be nice to install python to=A0=0A> /usr= /local (I'm not sure),=0A> but if you are going to install it in /usr (like= portage),=0A> I think you=0A> might as well use the same configure line po= rtage would.=0A> And if you wanted to be really clean, you could apply the= =0A> patches that=0A> portage applies.=0A> =0A> And most importantly,=0A> *= was this necessary*?=0A> Couldn't he have emerged python by invoking=0A> eb= uild=0A> /usr/port/usr/portage/dev-lang/python/python-2.6.2.ebuild=0A> merg= e=0A> ?=0A> This would do everyting correctly.=0A> And wouldn't it work wit= hout Python, since it is written in=0A> Bash?=0A> AFAIK, what needs Python = is the high level interface to the=0A> portage=0A> system, while the low-le= vel interface only needs Bash (but=0A> I'm=0A> totally not sure).=0A> =0A> = And finally, couldn't he have gotten a binary package from=0A> http://tinde= rbox.dev.gentoo.org/default-linux/x86/dev-lang/=0A> ?=0A> =0A> =0A=0AAlso t= hat emerge borked ebuild too.=0A=0A-----------------------=0AN: Jon Hardcas= tle=0AE: Jon@eHardcastle.com=0A'Do not worry about tomorrow, for tomorrow w= ill bring worries of its own.'=0A=0APlease sponsor me for the London to Bri= ghton 2009.=0AJust Giving: http://www.justgiving.com/jonathanhardcastle=0A-= ----------------------=0A=0A=0A