Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: install two releases of library in parallel
Date: Sat, 18 Dec 2010 20:19:26
Message-Id: 201012182218.26304.alan.mckinnon@gmail.com
In Reply to: Re: [gentoo-user] Re: install two releases of library in parallel by "Stéphane Guedon"
1 Apparently, though unproven, at 20:20 on Saturday 18 December 2010, Stéphane
2 Guedon did opine thusly:
3
4 > Le Saturday 18 December 2010 18:49:08, walt a écrit :
5 > > On 12/18/2010 02:27 AM, Stéphane Guedon wrote:
6 > > > Hello
7 > > >
8 > > > I am writing to you in order to know if there's a way to install both
9 > > > 4.54 and 4.5.85 releases of kdelibs on the same computer.
10 > > >
11 > > > The problem is that : I want to use the last powerdevil, which enable
12 > > > better use and recognition of my laptop battery. It rely on kdelibs
13 > > > 4.5.85. But I want to keep the current release of kontact 4.5.4, which
14 > > > is quite stable and usable for reading mails and other pims stuffs.
15 > >
16 > > Hm. Looking at the ebuilds for those packages, I don't see the version
17 > > numbers you mention:
18 > > -rw-r--r-- 1 root root 9351 Dec 14 13:59 kdelibs-4.4.5-r1.ebuild
19 > > -rw-r--r-- 1 root root 9306 Sep 13 15:05 kdelibs-4.4.5.ebuild
20 > > -rw-r--r-- 1 root root 9356 Nov 3 09:30 kdelibs-4.5.3.ebuild
21 > > -rw-r--r-- 1 root root 9353 Dec 2 13:16 kdelibs-4.5.4.ebuild
22 > >
23 > > Are you using a portage overlay for kde?
24 > >
25 > > Anyway, the older version of kontact may compile and run normally if you
26 > > emerge it with the newer version of kdelibs installed. I would try it as
27 > > an experiment before trying to install two different library versions.
28 >
29 > I use the kde overlay.
30 > I will try the thing you say before using kdeprefix said by Mr Volker.
31 > Thanks
32
33 You might want to review various mailing lists and research the pitfalls with
34 this approach. kdeprefix used to be supported in the tree ebuilds but it was
35 removed for excellent technical reasons.
36
37 I don't recall off-hand exactly what those reasons were well enough to post,
38 but it's all there in archives, and you really should become familiar with the
39 full background..
40
41 Forewarned is forearmed as they say in the classics.
42
43
44
45 --
46 alan dot mckinnon at gmail dot com